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
3829412390
commit
e19f4680f1
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue