From cb8e66790dcb0153d8642a9e755c307bd0e0fd63 Mon Sep 17 00:00:00 2001 From: frju365 Date: Wed, 1 Feb 2017 20:31:34 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5d9f18e..289c435 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -24,20 +24,20 @@ location ^~ YNH_WWW_PATH { add_header Pragma public; add_header Cache-Control "public, must-revalidate, proxy-revalidate"; } - location YNH_WWW_PATH/cache { + location YNH_WWW_PATHcache { rewrite ^(.*)$ /error break; } - location YNH_WWW_PATH/content { + location YNH_WWW_PATHcontent { rewrite ^(.*)$ /error break; } - location YNH_WWW_PATH/ { + location YNH_WWW_PATH { if (!-e $request_filename) { rewrite ^/(.*)$ /yellow.php last; break; } } - location YNH_WWW_PATH/system { + location YNH_WWW_PATHsystem { rewrite ^(.*)$ /error break; }