Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /admin {
- return 404;
- }
- location / {
- proxy_pass http://192.168.3.35:8060;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- }
- location /notifications/hub {
- proxy_pass http://192.168.3.35:3012;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "upgrade";
- }
- location /notifications/hub/negotiate {
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- proxy_pass http://192.168.3.35:8060;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement