Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /foo {
- rewrite ^/foo(.*)$ $1 break;
- proxy_pass http://localhost:8000;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection 'upgrade';
- proxy_set_header Host $http_host;
- proxy_cache_bypass $http_upgrade;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement