From 36bafea08f737f9dcc211a93b5774d7dcfd4bd4d Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Tue, 27 Aug 2024 08:00:45 +1200 Subject: [PATCH] fix: Add trailing slash to alias (#502) --- k8s/ietfweb/nginx-default.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/k8s/ietfweb/nginx-default.conf b/k8s/ietfweb/nginx-default.conf index c8bf9901..28eb852d 100644 --- a/k8s/ietfweb/nginx-default.conf +++ b/k8s/ietfweb/nginx-default.conf @@ -73,7 +73,7 @@ server { error_page 404 = @error_redirect; } location /id/ { - alias /a/ietfdata/draft/repository; + alias /a/ietfdata/draft/repository/; autoindex on; autoindex_exact_size off; autoindex_localtime on; @@ -86,7 +86,7 @@ server { error_page 404 = @error_redirect; } location /ietf-ftp/ { - alias /a/www/ietf-ftp; + alias /a/www/ietf-ftp/; autoindex on; autoindex_exact_size off; autoindex_localtime on; @@ -99,7 +99,7 @@ server { error_page 404 = @error_redirect; } location /rfc/ { - alias /a/www/ietf-ftp/rfc; + alias /a/www/ietf-ftp/rfc/; autoindex on; autoindex_exact_size off; autoindex_localtime on; @@ -112,7 +112,7 @@ server { error_page 404 = @error_redirect; } location /proceedings/ { - alias /a/www/www6s/proceedings; + alias /a/www/www6s/proceedings/; autoindex on; autoindex_exact_size off; autoindex_localtime on; @@ -121,7 +121,7 @@ server { error_page 404 = @error_redirect; } location /download/ { - alias /a/www/www6s/download; + alias /a/www/www6s/download/; autoindex on; autoindex_exact_size off; autoindex_localtime on; @@ -130,7 +130,7 @@ server { error_page 404 = @error_redirect; } location /lib/ { - alias /a/www/www6s/lib; + alias /a/www/www6s/lib/; autoindex on; autoindex_exact_size off; autoindex_localtime on; @@ -140,7 +140,7 @@ server { error_page 404 = @error_redirect; } location /staging/ { - alias /a/www/www6s/staging; + alias /a/www/www6s/staging/; autoindex on; autoindex_exact_size off; autoindex_localtime on; @@ -149,7 +149,7 @@ server { error_page 404 = @error_redirect; } location /status-report/ { - alias /a/www/www6s/status-report; + alias /a/www/www6s/status-report/; autoindex on; autoindex_exact_size off; autoindex_localtime on;