1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yellow_ynh.git synced 2024-09-03 20:36:12 +02:00

Update nginx.conf

This commit is contained in:
frju365 2017-02-01 20:31:34 +01:00 committed by GitHub
parent 0b86f87c65
commit cb8e66790d

View file

@ -24,20 +24,20 @@ location ^~ YNH_WWW_PATH {
add_header Pragma public; add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate"; add_header Cache-Control "public, must-revalidate, proxy-revalidate";
} }
location YNH_WWW_PATH/cache { location YNH_WWW_PATHcache {
rewrite ^(.*)$ /error break; rewrite ^(.*)$ /error break;
} }
location YNH_WWW_PATH/content { location YNH_WWW_PATHcontent {
rewrite ^(.*)$ /error break; rewrite ^(.*)$ /error break;
} }
location YNH_WWW_PATH/ { location YNH_WWW_PATH {
if (!-e $request_filename) { if (!-e $request_filename) {
rewrite ^/(.*)$ /yellow.php last; rewrite ^/(.*)$ /yellow.php last;
break; break;
} }
} }
location YNH_WWW_PATH/system { location YNH_WWW_PATHsystem {
rewrite ^(.*)$ /error break; rewrite ^(.*)$ /error break;
} }