Quellcode durchsuchen

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

hanwenlong vor 1 Jahr
Ursprung
Commit
ae171398fc
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      conf.d/qipai-manage.conf

+ 1 - 1
conf.d/qipai-manage.conf

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