From 339c91f1f4f9429a43ddb9c48632961fb2937901 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Sun, 16 Feb 2025 23:11:22 -0800 Subject: [PATCH] Auto add / to the end of the URL Signed-off-by: Tamal Saha --- default.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/default.conf b/default.conf index f7dbd8245b..c799bcde6f 100644 --- a/default.conf +++ b/default.conf @@ -7,6 +7,7 @@ server { location / { root /usr/share/nginx/html; index index.html index.htm; + try_files $uri $uri/ =404; } #error_page 404 /404.html;