From cba940d95eacf05c35e06b0aa7e01b7ea4b97ca8 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Tue, 11 Jun 2024 09:18:01 +1200 Subject: [PATCH] chore: Expose /charter --- k8s/ietfweb/nginx-default.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/k8s/ietfweb/nginx-default.conf b/k8s/ietfweb/nginx-default.conf index cf314b0a..3380ce8b 100644 --- a/k8s/ietfweb/nginx-default.conf +++ b/k8s/ietfweb/nginx-default.conf @@ -23,6 +23,17 @@ server { autoindex_localtime on; charset utf-8; + location ~* \.xml$ { + add_header Content-Disposition 'attachment'; + } + } + location /charter { + alias /a/ietfdata/doc/charter/; + autoindex on; + autoindex_exact_size off; + autoindex_localtime on; + charset utf-8; + location ~* \.xml$ { add_header Content-Disposition 'attachment'; }