diff --git a/nginx/nginx.conf b/nginx/nginx.conf index cfe30b2ac..240144cc3 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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; } \ No newline at end of file