Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name snagmysac.com;
- root /usr/share/nginx/html;
- index index.html index.htm;
- location / {
- proxy_pass http://127.0.0.1:8080;
- proxy_next_upstream error timeout invalid_header http_500 http_502
- http_503 http_504;
- proxy_redirect off;
- proxy_buffering off;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- }
Add Comment
Please, Sign In to add comment