Browse Source

更新 'conf.d/qipai-manage.conf'

hanwenlong 1 year ago
parent
commit
adc94142ab
1 changed files with 2 additions and 4 deletions
  1. 2 4
      conf.d/qipai-manage.conf

+ 2 - 4
conf.d/qipai-manage.conf

@@ -38,10 +38,8 @@ server {
     }
 
     location ^~ /static {
-      #proxy_set_header Host $http_host;    
-      #rewrite ^/static/(.*)$ /$1 break; #重写          
-      proxy_pass http://cloudimg-xypp.xinyuepp.cn/;
-      #rewrite ^/static/(.*)$ http://cloudimg-xypp.xinyuepp.cn/$1 permanent;
+      rewrite ^/static/(.*)$ /$1 break; #重写          
+   root   proxy_pass http://cloudimg-xypp.xinyuepp.cn/;
     }
     
     location ^~ /assets/images {