Skip to content

Commit 6332de0

Browse files
author
Arturo Blanco
authored
Update prestashop.stpl
1 parent 98e09a1 commit 6332de0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ server {
116116
try_files $fastcgi_script_name /index.php$uri&$args =404;
117117
fastcgi_split_path_info ^(.+\.php)(/.+)$;
118118
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
119-
if (!-f $document_root$fastcgi_script_name) {
120-
return 404;
121-
}
119+
122120
fastcgi_pass %backend_lsnr%;
123121
fastcgi_index index.php;
124122
include /etc/nginx/fastcgi_params;

0 commit comments

Comments
 (0)