From 3bd13e4a7b321ec47a6e8c19f8091d3180044bcf Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Tue, 26 Sep 2023 14:57:47 +0200
Subject: [PATCH] use regex for trailing slash

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

diff --git a/nginx.conf b/nginx.conf
index 152225ae..94d2c605 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -2,7 +2,7 @@ server_tokens off;
 server {
     listen 8080;
     server_name localhost;
-    location /wiki {
+    location /wiki/? {
         alias /etc/nginx/html;
         index index.html index.htm;
 
-- 
GitLab