diff options
| -rw-r--r-- | docker-compose.yml | 2 | ||||
| -rw-r--r-- | nginx/nginx.conf | 1 | ||||
| -rw-r--r-- | nginx/sites/notif.vainsocial.dev.conf | 13 |
3 files changed, 15 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 46da648..1072b16 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/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; } +} |
