mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-12-19 21:04:40 -05:00
send X-Robots-Tag on errors too
This commit is contained in:
parent
e7885e1b87
commit
913cde9ff2
@ -123,7 +123,7 @@ http {
|
||||
add_header Content-Security-Policy "font-src 'none'; manifest-src 'none'; object-src 'none'; script-src 'none'; style-src 'none'; frame-ancestors 'none'; block-all-mixed-content" always;
|
||||
# obsolete and replaced with Content-Security-Policy frame-ancestors 'none'
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
add_header X-Robots-Tag "none";
|
||||
add_header X-Robots-Tag "none" always;
|
||||
|
||||
proxy_pass http://backend;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
@ -154,7 +154,7 @@ http {
|
||||
add_header Content-Security-Policy "font-src 'self'; manifest-src 'self'; object-src 'none'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-ancestors 'self'; block-all-mixed-content" always;
|
||||
# obsolete and replaced with Content-Security-Policy frame-ancestors 'self'
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-Robots-Tag "none";
|
||||
add_header X-Robots-Tag "none" always;
|
||||
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
root /srv/certbot;
|
||||
|
Loading…
Reference in New Issue
Block a user