fixed sockjs-node calls

This commit is contained in:
Ulf Gebhardt 2021-04-28 15:37:23 +02:00
parent 938ff6c6a4
commit 59052b1123
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -69,6 +69,18 @@ server {
proxy_redirect off;
}
location /sockjs-node {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_pass http://frontend:3000;
proxy_redirect off;
}
# access_log /var/log/nginx/access.log main;
}