From 79547b00d683f3290d5ecc446325782b82c531df Mon Sep 17 00:00:00 2001 From: wuyibo <771227828@qq.com> Date: Tue, 25 Oct 2022 14:50:34 +0800 Subject: [PATCH] =?UTF-8?q?dev=E7=8E=AF=E5=A2=83=E7=9A=84nginx=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/nginx/conf/nginx.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/nginx/conf/nginx.conf b/docker/nginx/conf/nginx.conf index cef99915..6faa2e0c 100644 --- a/docker/nginx/conf/nginx.conf +++ b/docker/nginx/conf/nginx.conf @@ -19,12 +19,17 @@ http { try_files $uri $uri/ /index.html; index index.html index.htm; } + location /image/ { + alias /bt/pic/; + autoindex on; + } + location /wx/{ proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_pass http://192.168.1.211:32002/; + proxy_pass http://192.168.1.211:32003/; } location /prod-api/{ proxy_set_header Host $http_host;