dever 6 vuotta sitten
vanhempi
commit
cb86425766
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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!)