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'; }