From 3bf5e3ce73d97bb6a1cdf1315e6d51765bf291b4 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Mon, 30 Nov 2020 07:50:00 +0100 Subject: [PATCH] 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 --- server.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.conf b/server.conf index b31f8d0..6623363 100644 --- a/server.conf +++ b/server.conf @@ -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; }