minor nginx change
parent
822185f596
commit
781281d251
10
nginx.conf
10
nginx.conf
|
@ -57,18 +57,18 @@ server {
|
||||||
add_header 'Cache-Control' "public, max-age=3153600";
|
add_header 'Cache-Control' "public, max-age=3153600";
|
||||||
}
|
}
|
||||||
|
|
||||||
location /robots.txt {
|
location =/robots.txt {
|
||||||
alias /rDrama/files/assets/robots.txt;
|
alias /rDrama/files/assets/robots.txt;
|
||||||
add_header 'Cache-Control' "public, max-age=3153600";
|
add_header 'Cache-Control' "public, max-age=3153600";
|
||||||
}
|
}
|
||||||
location /icon.webp {
|
location =/icon.webp {
|
||||||
alias /rDrama/files/assets/images/rDrama/icon.webp;
|
alias /rDrama/files/assets/images/rDrama/icon.webp;
|
||||||
add_header 'Cache-Control' "public, max-age=3153600";
|
add_header 'Cache-Control' "public, max-age=3153600";
|
||||||
}
|
}
|
||||||
|
|
||||||
error_page 502 = /error_page/502.html;
|
error_page 502 = /502.html;
|
||||||
location /error_page/ {
|
location =/502.html {
|
||||||
alias /rDrama/files/templates/errors/rDrama/;
|
alias /rDrama/files/templates/errors/rDrama/502.html;
|
||||||
add_header Cache-Control "no-store";
|
add_header Cache-Control "no-store";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue