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