From bc5a3a20284fd8a3d8aea99d16791e8d956d216a Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 2 Sep 2022 11:28:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnginx=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/front.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/front.conf b/docker/front.conf index 46757715..c680da0f 100644 --- a/docker/front.conf +++ b/docker/front.conf @@ -16,14 +16,14 @@ server { root /ql/static/dist; ssl_session_timeout 5m; - location QL_BASE_URL/api/public { + location QL_BASE_URL/api/public/ { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://publicApi/api/public/; } - location QL_BASE_URL/api { + location QL_BASE_URL/api/ { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -33,7 +33,7 @@ server { proxy_set_header Connection $connection_upgrade; } - location QL_BASE_URL/open { + location QL_BASE_URL/open/ { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;