summaryrefslogtreecommitdiff
path: root/nginx/server.conf
diff options
context:
space:
mode:
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 d4ca3eee..25cd5525 100644
--- a/nginx/server.conf
+++ b/nginx/server.conf
@@ -103,7 +103,7 @@ server {
gzip_static off;
}
- location ~ "\.(txt|xml)$" {
+ location ~ "\.(json|txt|xml)$" {
include /etc/nginx/snippets/security-headers.conf;
add_header Cache-Control "public, max-age=1800";
}