From 9d3e370e5f1f86326a49f8eca832c523f573ba33 Mon Sep 17 00:00:00 2001 From: Kapil Viren Ahuja Date: Thu, 6 Apr 2017 18:23:38 +0530 Subject: WS is now going via notif subdomain instead of localhost --- nginx/sites/notif.vainsocial.dev.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 nginx/sites/notif.vainsocial.dev.conf (limited to 'nginx') 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; } +} -- cgit v1.3.1