From 0cc56e5509fd04e04a36ccd99877dc596df0130d Mon Sep 17 00:00:00 2001 From: feng0207 <1647919872@qq.com> Date: Sat, 26 Sep 2026 01:29:14 +0800 Subject: [PATCH] =?UTF-8?q?nginx=20absolute=5Fredirect=20off=EF=BC=9A?= =?UTF-8?q?=E5=AE=B9=E5=99=A8=E7=AB=AF=E5=8F=A3=E6=98=A0=E5=B0=84=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E4=B8=8B=E9=87=8D=E5=AE=9A=E5=90=91=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E5=A4=96=E9=83=A8=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index cf409b2..641684d 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -6,6 +6,9 @@ server { charset utf-8; + # 容器内监听 80、对外映射 18091:绝对重定向会丢外部端口,改发相对 Location + absolute_redirect off; + access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log;