Fixes for deployment and Nginx config
This commit is contained in:
@@ -38,11 +38,7 @@ location ~* \.(pdf|doc|docx)$ {
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# robots.txt: short cache (1 day)
|
||||
location = /robots.txt {
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
access_log off;
|
||||
}
|
||||
# robots.txt and sitemap.xml: handled in default.conf with alias (variant-specific)
|
||||
|
||||
# favicon: long cache (30 days)
|
||||
location = /favicon.svg {
|
||||
|
||||
Reference in New Issue
Block a user