Windows中Nginx配置nginx.conf不生效解决方法
今天在做Nginx项目的时候,要处理一个路径映射问题,
location /evaluate/ {
proxy_pass http://localhost:8080/evaluate/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
2022-04-22 04:08:57
location /evaluate/ {
proxy_pass http://localhost:8080/evaluate/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}