安装时遇到问题,无法进行下一步
发表于 : 2019年 12月 24日 21:40
代码: 全选
location / {
proxy_pass http://localhost:8080/; #根据请求路径转发给后台服务(请求转发)
proxy_set_header Accept-Encoding '';
proxy_set_header Referer $http_referer;
proxy_set_header Cookie $http_cookie;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}