您的位置:首页 > 运维架构 > 反向代理

nginx反向代理: [emerg] invalid number of arguments in

2021-01-10 22:22 1651 查看
server {listen       80;server_name  localhost:8080;#charset koi8-r;#access_log  logs/host.access.log  main;location / {#root   html;# index  index.html index.htm;# proxy_pass    http://localhost:8080;}location ~ \.jsp$ {proxy_pass http://localhost:8080;}location ~ \.(html|js|css|png|gif)$ {root D:/Program Files/tomcat/webapps/ROOT;}

windows下只需要在 路径两边加双引号即可。


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐