Update server.conf

Made a "try_files"-less conf of the FastCGI snippet for NGINX.

This new conf looks for a router.php as the FastCGI index, and also allows for location block try_files
This commit is contained in:
Victor Westerlund 2020-11-30 07:50:00 +01:00
parent 953b647d25
commit 3bf5e3ce73

View file

@ -64,7 +64,7 @@ server {
location ~ \.php$ {
add_header Access-Control-Allow-Origin *;
include snippets/fastcgi-php.conf;
include snippets/fastcgi-php-router.conf;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
}