dever 6 年 前
コミット
cb86425766
1 ファイル変更2 行追加1 行削除
  1. 2 1
      container/conf/web/nginx/conf.d/site.conf

+ 2 - 1
container/conf/web/nginx/conf.d/site.conf

@@ -35,7 +35,8 @@ server {
                 # include /etc/nginx/naxsi.rules
     }
 
-    location ~ ^(.*)$ {
+    #location ~ ^(.*)$ {
+    location ~ \.php$ {
         fastcgi_split_path_info ^(.+\.php)(/.+)$;
         # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini (No settings!)