From ee80b4f2c0f671b74531fd3db1435a1303e1b91a Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Wed, 20 Sep 2023 10:32:26 +0200
Subject: [PATCH] add /wiki as location

---
 nginx.conf | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/nginx.conf b/nginx.conf
index 802f872c..8903350d 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -1,10 +1,16 @@
 server_tokens off;
 server {
-    listen       8080;
-    server_name  localhost;
-    location / {
-        root   /usr/share/nginx/html;
-        index  index.html index.htm;
+    listen 8080;
+    server_name localhost;
+    location /wiki {
+        root /usr/share/nginx/html;
+        index index.html index.htm;
         try_files $uri /index.html;
     }
+
+    error_page 500 502 503 504 /50x.html;
+    location = /50x.html {
+        root /usr/share/nginx/html;
+    }
+
 }
\ No newline at end of file
-- 
GitLab