blistovmhz

Untitled

Sep 15th, 2020
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. upstream Axis_Energy_-_Rig_59 {
  2. server 172.16.16.14;
  3. server 172.16.16.14:3000;
  4. }
  5. server {
  6. listen 80;
  7. server_name Axis_Energy_-_Rig_59.axisenergy.dev.rigsmart.com;
  8.  
  9. location / {
  10. proxy_pass http://Axis_Energy_-_Rig_59;
  11. proxy_http_version 1.1;
  12. proxy_set_header Upgrade $http_upgrade;
  13. proxy_set_header Connection "upgrade";
  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. proxy_set_header X-Forwarded-Proto $scheme;
  18. proxy_set_header X-Forwarded-Host $host;
  19. proxy_set_header X-Forwarded-Port $server_port;
  20. }
  21. }
  22.  
RAW Paste Data