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;