Ver código fonte

update 优化 减少powerjob不必要的nginx代理路径

疯狂的狮子Li 2 anos atrás
pai
commit
4fc3265d17
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      docker/nginx/conf/nginx.conf

+ 1 - 1
docker/nginx/conf/nginx.conf

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