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)(.*)$ {