Contents
nginx 配置80端口转向,间接启用tomcat,不需要用authbind
1 2 3 4 5 6 7 8 9 10 11 12 13
| server { listen 80; server_name bigsuperangel.ngrok.cc;
location /{ proxy_pass http://127.0.0.1:8080/; proxy_pass_header Set-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;
} }
|