From 00b8c7682ef76bc3c226cabc8330a826353e0b32 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Tue, 11 Jun 2024 13:18:12 +1200 Subject: [PATCH] chore: Expose /ietf-ftp --- 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 3e7faca5..a2c18b2e 100644 --- a/k8s/ietfweb/nginx-default.conf +++ b/k8s/ietfweb/nginx-default.conf @@ -67,6 +67,17 @@ server { autoindex_localtime on; charset utf-8; + location ~* \.xml$ { + add_header Content-Disposition 'attachment'; + } + } + location /ietf-ftp { + alias /a/www/ietf-ftp; + autoindex on; + autoindex_exact_size off; + autoindex_localtime on; + charset utf-8; + location ~* \.xml$ { add_header Content-Disposition 'attachment'; }