ff 3 سال پیش
والد
کامیت
cf6c1b68f1
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      heroku/nginx.template.conf

+ 2 - 2
heroku/nginx.template.conf

@@ -23,8 +23,8 @@ http {
 
         location ~ \.php$ {
           try_files $uri =404;
-          fastcgi_split_path_info ^(.+\.php)(/.+)$;
-          fastcgi_pass php:9000;
+          fastcgi_split_path_info ^(.+?\.php)(/.*)$;
+          fastcgi_pass 127.0.0.1:9000;
           fastcgi_index index.php;
           include /etc/nginx/fastcgi_params;
           fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;