From d3ad832ded4428f14241f7f7d3ecab8a1d415b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Mon, 27 Nov 2023 16:19:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20powerjob=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E6=96=B9=E6=A1=88=20=E9=AB=98=E7=89=88=E6=9C=ACnginx?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/docker/nginx/conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/docker/nginx/conf/nginx.conf b/script/docker/nginx/conf/nginx.conf index 641ae67cb..2aa6587da 100644 --- a/script/docker/nginx/conf/nginx.conf +++ b/script/docker/nginx/conf/nginx.conf @@ -108,7 +108,7 @@ http { } # 解决 powerjob 代理之后静态文件无法访问的问题 请勿修改乱动 - location .*\.(js|css|jpg|png|svg|woff|ttf|ico)?$ { + location ~ ^/(js|css|jpg|png|svg|woff|ttf|ico|img)/ { proxy_pass http://powerjob-server; }