Forráskód Böngészése

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

hanwenlong 1 éve
szülő
commit
f35338c061
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      conf.d/qipai-manage.conf

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

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