summaryrefslogtreecommitdiff
path: root/nginx/server.conf
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2020-11-05 15:18:47 -0500
committerDaniel Micay <danielmicay@gmail.com>2020-11-05 15:24:59 -0500
commit012a527abd87c7384051fb62204a18368b293eb9 (patch)
treeb90b1165b31feda64fdfbd7a7ff2a33ce0a09b01 /nginx/server.conf
parent62875b62a30013d5465f9f5c7d27f1a6ee6ac9bc (diff)
add our response to Copperhead's baseless lawsuit
Diffstat (limited to 'nginx/server.conf')
-rw-r--r--nginx/server.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/server.conf b/nginx/server.conf
index 25cd5525..2fef31d3 100644
--- a/nginx/server.conf
+++ b/nginx/server.conf
@@ -103,7 +103,7 @@ server {
gzip_static off;
}
- location ~ "\.(json|txt|xml)$" {
+ location ~ "\.(json|pdf|txt|xml)$" {
include /etc/nginx/snippets/security-headers.conf;
add_header Cache-Control "public, max-age=1800";
}