diff --git a/layouts/article.vue b/layouts/article.vue index 47f2cb0d6f6735c5a58a6076794badf603f54619..415a26a707657557b6325fab8a603761e1dbc491 100644 --- a/layouts/article.vue +++ b/layouts/article.vue @@ -1,6 +1,6 @@ <script setup lang="ts"></script> <template> - <LayoutWrapper :fluid="true" :toc="false"> + <LayoutWrapper> <slot /> </LayoutWrapper> </template> 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;