stanley-king 4 年之前
父節點
當前提交
cf3a527cd0
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      docker/conf/nginx/nginx-xyz-https.conf

+ 10 - 1
docker/conf/nginx/nginx-xyz-https.conf

@@ -112,7 +112,16 @@ http
             fastcgi_param  SIGN $http_sign;
             include fastcgi_params;
         }
-        
+
+        location ~ /mchsrv/[/\w]+\.php$ {
+            root           $folder_name;
+            fastcgi_pass   docker.hostip:9102;
+            fastcgi_index  index.php;
+            fastcgi_param  SCRIPT_FILENAME  $folder_name$fastcgi_script_name;
+            fastcgi_param SIGN $http_sign;
+            include fastcgi_params;
+        }
+
         location ~ \.php$ {
             add_header Cache-Control no-store;
             root           $folder_name;