ccf пре 3 година
родитељ
комит
e70cf9ccb9
1 измењених фајлова са 2 додато и 30 уклоњено
  1. 2 30
      config/nginx/template/proginn.nginx.conf

+ 2 - 30
config/nginx/template/proginn.nginx.conf

@@ -456,13 +456,13 @@ server {
     }
 
     location ^~ /wapi {
-        proxy_pass http://127.0.0.1:5001;
+        proxy_pass http://127.0.0.1:5000;
         proxy_set_header Host {{domain}}.test.proginn.com;
     }
 
 
     location ^~ /sapi {
-        proxy_pass http://127.0.0.1:5002;
+        proxy_pass http://127.0.0.1:5000;
         proxy_set_header Host {{domain}}.test.proginn.com;
     }
 
@@ -520,32 +520,4 @@ server {
     }
 
     access_log /data/log/user_proginn_access.log proginn-logid;
-}
-# 用户模块
-server {
-    listen 5000;
-    server_name {{domain}}.test.proginn.com;
-
-    root /proginn-user/public/;
-    index index.php index.html index.htm;
-
-
-    location / {
-        if (!-e $request_filename) {
-            rewrite  ^(.*)$  /index.php?s=$1  last;
-            break;
-        }
-    }
-    set $temp_request_id $http_x_request_id;
-    if ($temp_request_id = "") {
-        set $temp_request_id $request_id;
-    }
-
-    location ~ \.php$ {
-        fastcgi_pass unix:/var/run/php7-fpm.sock;
-        fastcgi_index index.php;
-        include fastcgi_params;
-    }
-
-    access_log /data/log/user_proginn_access.log proginn-logid;
 }