Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- root /var/www/html;
- index index.html;
- server_name jukey.nl;
- location jukey.nl {
- proxy_pass http://localhost:8086;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection 'upgrade';
- proxy_set_header Host $host;
- proxy_cache_bypass $http_upgrade;
- }
- }
- server {
- listen 80;
- listen [::]:80;
- root /var/www/html;
- index index.html index.htm;
- server_name servers.jukey.nl;
- location / {
- proxy_pass http://localhost:8080;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection 'upgrade';
- proxy_set_header Host $host;
- proxy_cache_bypass $http_upgrade;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement