!472 powerjob反向代理添加fonts,修复fontawesome显示

Merge pull request !472 from dhb52/dev
This commit is contained in:
疯狂的狮子Li 2024-01-02 10:21:36 +00:00 committed by Gitee
commit 12b40f2bbe
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)/ {
location ~ ^/(js|css|jpg|png|svg|woff|ttf|ico|img|fonts)/ {
proxy_pass http://powerjob-server;
}