Browse Source

update 优化 删除无用代理配置

疯狂的狮子Li 2 years ago
parent
commit
d27fc8cc93
1 changed files with 0 additions and 5 deletions
  1. 0 5
      docker/nginx/conf/nginx.conf

+ 0 - 5
docker/nginx/conf/nginx.conf

@@ -78,11 +78,6 @@ http {
             proxy_pass http://server/;
             proxy_pass http://server/;
         }
         }
 
 
-        # 解决 powerjob 代理之后静态文件无法访问的问题 请勿修改乱动
-        location ~ ^/(js|img|fonts)/ {
-            proxy_pass http://powerjob-server;
-        }
-
         error_page   500 502 503 504  /50x.html;
         error_page   500 502 503 504  /50x.html;
         location = /50x.html {
         location = /50x.html {
             root   html;
             root   html;