Merge pull request #1798 from okpierre/patch-6

Update nginx.conf
This commit is contained in:
daniel 2019-10-26 20:00:35 -06:00 committed by GitHub
commit 8b7963b30c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ server {
location ~ \.php$ { location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
try_files $fastcgi_script_name =404;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # make sure this is correct fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # make sure this is correct
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi_params; include fastcgi_params;