From 8c4c10c1189dce30ac5a5a0fb86fd21cbb63646c Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Wed, 22 Nov 2023 11:14:17 +0100
Subject: [PATCH] add $uri/index.html to the list of files to try

---
 nginx.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nginx.conf b/nginx.conf
index 703f8c0b..a32514e3 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -5,7 +5,7 @@ server {
     location /wiki/ {
         alias /etc/nginx/html/;
         index index.html index.htm;
-        try_files $uri $uri/ /index.html;
+        try_files $uri $uri/ $uri/index.html /index.html;
 
     }
     error_page 500 502 503 504 /50x.html;
-- 
GitLab