Guest User

Untitled

a guest
Jan 20th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name snagmysac.com;
  4.  
  5. root /usr/share/nginx/html;
  6. index index.html index.htm;
  7.  
  8. location / {
  9. proxy_pass http://127.0.0.1:8080;
  10. proxy_next_upstream error timeout invalid_header http_500 http_502
  11. http_503 http_504;
  12. proxy_redirect off;
  13. proxy_buffering off;
  14. proxy_set_header Host $host;
  15. proxy_set_header X-Real-IP $remote_addr;
  16. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  17. }
  18. }
Add Comment
Please, Sign In to add comment