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

∥☆過路亽.° 提交于 2021-01-12 14:49:39
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下只需要在 路径两边加双引号即可。


易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!