From 574e8e7772186248774db00f4851f80839d5c06a Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Thu, 30 Jan 2025 14:15:25 +1300 Subject: [PATCH] build: Try txt files for minutes (#537) * build: Use ${keepempty} in proceedings config * build: Use alias instead of root --- k8s/ietfweb/nginx-default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/ietfweb/nginx-default.conf b/k8s/ietfweb/nginx-default.conf index f1a6ef27..7335ba90 100644 --- a/k8s/ietfweb/nginx-default.conf +++ b/k8s/ietfweb/nginx-default.conf @@ -119,14 +119,14 @@ server { error_page 404 = @error_redirect; } location /proceedings/ { - root /a/www/www6s/proceedings/; + alias /a/www/www6s/proceedings/; autoindex on; autoindex_exact_size off; autoindex_localtime on; charset utf-8; location ~* /minutes/.+$ { - try_files $uri $uri.html $uri.txt $uri/; + try_files $${keepempty}uri $${keepempty}uri.html $${keepempty}uri.txt $${keepempty}uri/; } error_page 404 = @error_redirect;