diff options
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 1 | ||||
| -rw-r--r-- | nginx/sites/notif.vainsocial.dev.conf | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index b6bafec..c6a9581 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -34,6 +34,7 @@ http { } upstream websocket { + # server 192.168.1.37:15674; server vaindock_queue:15674; } } 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; } +} |
