Guest User

Untitled

a guest
Jun 28th, 2020
961
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2. listen 80;
  3.  
  4. server_name heroicsky.co.uk;
  5.  
  6. location / {
  7. proxy_set_header X-Real-IP $remote_addr;
  8. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  9. proxy_set_header X-Forwarded-Proto $scheme;
  10. proxy_set_header Host $http_host;
  11. proxy_set_header X-NginX-Proxy true;
  12.  
  13. proxy_pass http://127.0.0.1:4567;
  14. proxy_redirect off;
  15.  
  16. # Socket.IO Support
  17. proxy_http_version 1.1;
  18. proxy_set_header Upgrade $http_upgrade;
  19. proxy_set_header Connection "upgrade";
RAW Paste Data