no longer need location block for PDFs
This commit is contained in:
parent
fff42972bb
commit
0d728b6cfb
@ -453,9 +453,8 @@ http {
|
||||
brotli_static off;
|
||||
}
|
||||
|
||||
location ~ "\.(?:atom|pdf)$" {
|
||||
location ~ "\.atom$" {
|
||||
include snippets/security-headers.conf;
|
||||
# Chromium PDF range requests use wrong origin: https://bugs.chromium.org/p/chromium/issues/detail?id=1074261
|
||||
# Thunderbird uses wrong origin for feeds: https://bugzilla.mozilla.org/show_bug.cgi?id=1698755
|
||||
add_header Cross-Origin-Resource-Policy "cross-origin" always;
|
||||
add_header Cache-Control "public, max-age=1800";
|
||||
|
Loading…
x
Reference in New Issue
Block a user