diff --git a/dist/nginx.conf b/dist/nginx.conf index 6322ea8c55..f558211451 100644 --- a/dist/nginx.conf +++ b/dist/nginx.conf @@ -100,6 +100,12 @@ server { try_files $uri =404; } + location ^~ /ocr/ { + add_header Cache-Control "public, max-age=2419200, must-revalidate"; + add_header Strict-Transport-Security "max-age=63072000; includeSubDomains"; + try_files $uri =404; + } + location ^~ /packs/ { add_header Cache-Control "public, max-age=2419200, must-revalidate"; add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";