diff --git a/servers/apoc/docker-compose.d/custom/nginx/conf.d/firezone.conf b/servers/apoc/docker-compose.d/custom/nginx/conf.d/firezone.conf index 3d4cb05..ceaa04f 100644 --- a/servers/apoc/docker-compose.d/custom/nginx/conf.d/firezone.conf +++ b/servers/apoc/docker-compose.d/custom/nginx/conf.d/firezone.conf @@ -2,12 +2,20 @@ server { listen 80; server_name fz.ixvd.net; + location /live/websocket { + proxy_pass http://firezone:13000; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection upgrade; + } + location / { proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto https; proxy_set_header Host $host; - proxy_set_header Connection $http_connection; - proxy_set_header Upgrade $http_upgrade; proxy_pass http://firezone:13000; client_max_body_size 0; }