Robots, Trusted Types, and various other bits...
This commit is contained in:
@@ -16,6 +16,15 @@ server {
|
||||
alias /usr/share/nginx/html/dev/.well-known/dev.com.chrome.devtools.json;
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
}
|
||||
location = /robots.txt {
|
||||
alias /usr/share/nginx/html/dev/robots-dev.txt;
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
}
|
||||
location = /sitemap.xml {
|
||||
alias /usr/share/nginx/html/dev/sitemap-dev.xml;
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
add_header Content-Type "application/xml; charset=utf-8";
|
||||
}
|
||||
|
||||
include /etc/nginx/snippets/cache-rules.conf;
|
||||
|
||||
@@ -41,6 +50,15 @@ server {
|
||||
alias /usr/share/nginx/html/bio/.well-known/bio.com.chrome.devtools.json;
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
}
|
||||
location = /robots.txt {
|
||||
alias /usr/share/nginx/html/bio/robots-bio.txt;
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
}
|
||||
location = /sitemap.xml {
|
||||
alias /usr/share/nginx/html/bio/sitemap-bio.xml;
|
||||
add_header Cache-Control "public, max-age=86400";
|
||||
add_header Content-Type "application/xml; charset=utf-8";
|
||||
}
|
||||
|
||||
include /etc/nginx/snippets/cache-rules.conf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user