-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Hello boys,
Socket works well locally. But remote, after deploy it is not working.
-
It is behind NGinx. Is this config correct?
location /socket.io {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_http_version 1.1;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass http://localhost:9092;
} -
What is the correct hostname for server in this case? Is it required at all?
Metadata
Metadata
Assignees
Labels
No labels