diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2022-08-05 06:33:11 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2022-08-25 23:15:08 -0400 |
| commit | 0d728b6cfb804ae98f59e0f0a2543bb96a51fe5b (patch) | |
| tree | c8f2b36ddee97ba07269f8a6237a309b96db2424 /nginx | |
| parent | fff42972bbd5e99dee5ebb09dafa1987be85eadb (diff) | |
no longer need location block for PDFs
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 28670bb0..d20d40aa 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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"; |
