From a1387e26f899433dbc43ab6a5980cda867ff0ab6 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 8 Jul 2021 23:52:49 -0400 Subject: [PATCH] fixes --- Nginx/Server Blocks/journal.libraryofcode.org.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Nginx/Server Blocks/journal.libraryofcode.org.conf b/Nginx/Server Blocks/journal.libraryofcode.org.conf index ad15779..1503034 100644 --- a/Nginx/Server Blocks/journal.libraryofcode.org.conf +++ b/Nginx/Server Blocks/journal.libraryofcode.org.conf @@ -18,7 +18,8 @@ server { location / { - try_files $uri $uri/ /index.php?$query_string; + #try_files $uri $uri/ /index.php?$query_string; + try_files $uri $uri/ /index.php?$args; } location = /favicon.ico { @@ -32,11 +33,6 @@ server { error_page 404 /index.php; - location / { - try_files $uri $uri/ /index.php?$args; - } - - location ~ ^(.+\.php)(.*)$ { set $path_info $fastcgi_path_info; fastcgi_split_path_info ^(.+\.php)(.*)$;