From 14b18150a2d09d0ce7a17cd6b2bec73a2d5e2022 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 8 Jul 2021 23:56:48 -0400 Subject: [PATCH] fixes --- .../journal.libraryofcode.org.conf | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Nginx/Server Blocks/journal.libraryofcode.org.conf b/Nginx/Server Blocks/journal.libraryofcode.org.conf index 2418ef3..4036a3c 100644 --- a/Nginx/Server Blocks/journal.libraryofcode.org.conf +++ b/Nginx/Server Blocks/journal.libraryofcode.org.conf @@ -16,12 +16,6 @@ server { charset utf-8; - - TiBian - Posted 4 years ago # - - Here is what I use and is working perfect. - # Remove index.php$ if ($request_uri ~* "^(.*/)index\.php$") { return 301 $1; @@ -35,8 +29,6 @@ server { return 301 $1$3; } } - - # Remove trailing slash. if (!-d $request_filename) { rewrite ^/(.+)/$ /$1 permanent; @@ -48,15 +40,6 @@ server { } - location = /favicon.ico { - access_log off; - log_not_found off; - } - location = /robots.txt { - access_log off; - log_not_found off; - } - error_page 404 /index.php; location ~ ^(.+\.php)(.*)$ {