minor nginx change

pull/64/head
Aevann1 2022-12-10 15:02:40 +02:00
parent 822185f596
commit 781281d251
1 changed files with 5 additions and 5 deletions

View File

@ -57,18 +57,18 @@ server {
add_header 'Cache-Control' "public, max-age=3153600";
}
location /robots.txt {
location =/robots.txt {
alias /rDrama/files/assets/robots.txt;
add_header 'Cache-Control' "public, max-age=3153600";
}
location /icon.webp {
location =/icon.webp {
alias /rDrama/files/assets/images/rDrama/icon.webp;
add_header 'Cache-Control' "public, max-age=3153600";
}
error_page 502 = /error_page/502.html;
location /error_page/ {
alias /rDrama/files/templates/errors/rDrama/;
error_page 502 = /502.html;
location =/502.html {
alias /rDrama/files/templates/errors/rDrama/502.html;
add_header Cache-Control "no-store";
}
}