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