Skip to content

Commit

Permalink
Docker: Websocket nginx config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorsmari committed Oct 16, 2018
1 parent 1276400 commit 6cc4255
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/nginx-conf/api.smartcitizen.me.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
upstream docker-push {
server push:8000;
}

server {
listen 80;
server_name ws.smartcitizen.me;

location / {
proxy_pass http://localhost:8000;
proxy_pass http://docker-push;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
Expand Down

0 comments on commit 6cc4255

Please sign in to comment.