#反向代理
location / {
proxy_pass http://127.0.0.1:8090/;
}
#解决js css 访问不到的问题
location ~ .* {
proxy_pass http://127.0.0.1:8090;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
#反向代理
location / {
proxy_pass http://127.0.0.1:8090/;
}
#解决js css 访问不到的问题
location ~ .* {
proxy_pass http://127.0.0.1:8090;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;