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:
parent
0b86f87c65
commit
cb8e66790d
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue