Browse Source

Update prestashop.stpl

Arturo Blanco 5 years ago
parent
commit
6332de0a02
1 changed files with 1 additions and 3 deletions
  1. 1 3
      install/deb/templates/web/nginx/php-fpm/prestashop.stpl

+ 1 - 3
install/deb/templates/web/nginx/php-fpm/prestashop.stpl

@@ -116,9 +116,7 @@ server {
 	    try_files $fastcgi_script_name /index.php$uri&$args =404;
 	    fastcgi_split_path_info ^(.+\.php)(/.+)$;
             fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-            if (!-f $document_root$fastcgi_script_name) {
-                return  404;
-            }
+
             fastcgi_pass %backend_lsnr%;
             fastcgi_index index.php;
             include /etc/nginx/fastcgi_params;