diff --git a/conf/nginx.conf b/conf/nginx.conf index 2c5bf5b..5655a81 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -32,20 +32,20 @@ location ^~ YNH_WWW_PATH { add_header Pragma public; add_header Cache-Control "public, must-revalidate, proxy-revalidate"; } - location /cache { + location YNH_WWW_PATH/cache { rewrite ^(.*)$ /error break; } - location /content { + location YNH_WWW_PATH/content { rewrite ^(.*)$ /error break; } - location / { + location YNH_WWW_PATH/ { if (!-e $request_filename) { rewrite ^/(.*)$ /yellow.php last; break; } } - location /system { + location YNH_WWW_PATH/system { rewrite ^(.*)$ /error break; } gzip on;