Pārlūkot izejas kodu

更改nginx 配置

abiao 4 gadi atpakaļ
vecāks
revīzija
309c32442e
1 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 7 7
      config/nginx/test.conf

+ 7 - 7
config/nginx/test.conf

@@ -1,6 +1,6 @@
 server {
-    listen       80;
-    server_name  tworldm.labitumall.com;
+    listen       8079;
+    server_name  tfhwx.hiwavo.com;
 
     set $platform pc;
         
@@ -8,27 +8,27 @@ server {
   	    set $platform mobile;
   	}
 
-    root /opt/apps/dist/worldm.labitumall.com/;
+    root /home/www/dist/fohow-wx.hiwavo.com/;
 
     location /static/js {
-      root /opt/apps/dist/worldm.labitumall.com;
+      root /home/www/dist/fohow-wx.hiwavo.com;
       expires  30d;
       gzip_static on;
     }
 
     location /static/css {
-      root /opt/apps/dist/worldm.labitumall.com;
+      root /home/www/dist/fohow-wx.hiwavo.com;
       expires  30d;
       gzip_static on;
     }
     
     location /static/img {
-      root /opt/apps/dist/worldm.labitumall.com;
+      root /home/www/dist/fohow-wx.hiwavo.com;
       expires  30d;
     }
 
     location =/favicon.ico { 
-      root /opt/apps/dist/worldm.labitumall.com;
+      root /home/www/dist/fohow-wx.hiwavo.com;
       expires  30d;
     }