diff --git a/nginx.conf b/nginx.conf
index 152225aef107a7cb759eb7aa21184e7b80fc3c1d..94d2c6057076888fde3471ef2f0764b4b8a2fc52 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;