From 26623ac05dedc42608b93201f2be7e3efa5c70b8 Mon Sep 17 00:00:00 2001 From: cat piss bong hits Date: Wed, 7 Jun 2023 06:28:47 +0200 Subject: [PATCH] Fix proxy-pass url Causing issues with npm registry (and probably more) See https://github.com/go-gitea/gitea/issues/21407 and specifically https://github.com/go-gitea/gitea/issues/21407#issuecomment-1420975465 --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index acafbce..5cf83aa 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - proxy_pass http://localhost:__PORT__/; + proxy_pass http://localhost:__PORT__; proxy_set_header Host $host; proxy_buffering off; client_max_body_size 200M;