From d534464cc65fbf8fd25fec0b6ae04fae7b4b885d Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Wed, 15 Feb 2023 20:42:38 +0000 Subject: [PATCH] Update conf/nginx.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index aeb6795..898b7f4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -56,7 +56,7 @@ location ^~ /customize/ { try_files /customize/$uri /customize.dist/$uri; } location ~ ^/api/.*$ { - proxy_pass http://localhost:__PORT__; + proxy_pass http://127.0.0.1:__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;