diff options
| author | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-04-06 18:23:38 +0530 |
|---|---|---|
| committer | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-04-06 18:23:38 +0530 |
| commit | 9d3e370e5f1f86326a49f8eca832c523f573ba33 (patch) | |
| tree | 66330b4b62f699842ec728e09e854ebc142ceddf | |
| parent | 3a229577db319776f986f96cd9c60baf645e7b3e (diff) | |
| download | vaindock-9d3e370e5f1f86326a49f8eca832c523f573ba33.tar.gz vaindock-9d3e370e5f1f86326a49f8eca832c523f573ba33.zip | |
WS is now going via notif subdomain instead of localhost
| -rw-r--r-- | docker-compose.yml | 2 | ||||
| -rw-r--r-- | nginx/sites/notif.vainsocial.dev.conf | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 07d85dd..d6e936f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -86,7 +86,7 @@ services: - php-fpm - vaindock_queue ports: - - "88:80" + - "80:80" - "443:443" vaindock_bridge: diff --git a/nginx/sites/notif.vainsocial.dev.conf b/nginx/sites/notif.vainsocial.dev.conf new file mode 100644 index 0000000..034decc --- /dev/null +++ b/nginx/sites/notif.vainsocial.dev.conf @@ -0,0 +1,13 @@ +server { + + listen 80; + listen [::]:80; + + server_name notif.vainsocial.dev; + + location / { + proxy_pass http://websocket; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; } +} |
