Skip to content

Commit

Permalink
Tweak nginx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Dec 1, 2022
1 parent a50aa8e commit e24e14c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docker/ssp-debug-sp/conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ server {
include /opt/docker/etc/nginx/vhost.ssl.conf;

location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
fastcgi_pass php;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_read_timeout 600;
}
}

0 comments on commit e24e14c

Please sign in to comment.