From 2e17de7978e1e4f976f597a64fdfb6d27a46ed7e Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Wed, 15 Feb 2023 20:19:18 +0000 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 30bfdb0..f003dff 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -40,7 +40,7 @@ if ($unsafe) { } more_set_headers "Content-Security-Policy: default-src 'none'; child-src $childSrc; worker-src $workerSrc; media-src $mediaSrc; style-src $styleSrc; script-src $scriptSrc; connect-src $connectSrc; font-src $fontSrc; img-src $imgSrc; frame-src $frameSrc; frame-ancestors $frameAncestors"; location ^~ /cryptpad_websocket { - proxy_pass http://localhost:3000; + proxy_pass http://localhost:__PORT__; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -56,7 +56,7 @@ location ^~ /customize/ { try_files /customize/$uri /customize.dist/$uri; } location ~ ^/api/.*$ { - proxy_pass http://localhost:3000; + proxy_pass http://localhost:__PORT__; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;