From 2c0f022e1331808ebd632167d529a26449250d90 Mon Sep 17 00:00:00 2001 From: imndx Date: Tue, 7 Nov 2023 22:13:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20nginx=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/appserver.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx/appserver.conf b/nginx/appserver.conf index 872a59e..4d2cb24 100644 --- a/nginx/appserver.conf +++ b/nginx/appserver.conf @@ -30,7 +30,8 @@ server { proxy_pass http://127.0.0.1:8888; } - ## 如果需要通过 path 来分流的话,请参考下的配置,path后面的/和 8888 后面的/ 都不能省略,可参考这儿:https://www.jb51.net/article/244331.htm + ## 如果需要通过 path 来分流的话,请参考下的配置,path后面的/和 8888 后面的/ 都不能省略,否则会提示 没有登录 + # 可参考这儿:https://www.jb51.net/article/244331.htm #location /app/ { # proxy_pass http://127.0.0.1:8888/; #}