!473 perf: 减少powerjob不必要的nginx代理路径

Merge pull request !473 from dhb52/dev
This commit is contained in:
疯狂的狮子Li 2024-01-04 03:02:29 +00:00 committed by Gitee
commit f101d70523
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -108,7 +108,7 @@ http {
}
# 解决 powerjob 代理之后静态文件无法访问的问题 请勿修改乱动
location ~ ^/(js|css|jpg|png|svg|woff|ttf|ico|img|fonts)/ {
location ~ ^/(js|img|fonts)/ {
proxy_pass http://powerjob-server;
}