|
|
@@ -199,7 +199,7 @@ server {
|
|
|
|
|
|
|
|
|
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;
|
|
|
}
|
|
|
|
|
|
@@ -577,34 +577,4 @@ server {
|
|
|
}
|
|
|
|
|
|
access_log /data/log/work_proginn_access.log proginn-logid;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-# 工作模块
|
|
|
-server {
|
|
|
- listen 5002;
|
|
|
- server_name {{domain}}.test.proginn.com;
|
|
|
-
|
|
|
- root /proginn-serve/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/work_proginn_access.log proginn-logid;
|
|
|
}
|