From 5ce65f70477b274fda7424c11e6ebc27134a1ae9 Mon Sep 17 00:00:00 2001 From: Jacky Date: Sat, 8 Feb 2025 15:39:44 +0800 Subject: [PATCH] feat(template): add vue history router config --- template/block/vue-router-history-mode.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 template/block/vue-router-history-mode.conf diff --git a/template/block/vue-router-history-mode.conf b/template/block/vue-router-history-mode.conf new file mode 100644 index 00000000..9f8a6d46 --- /dev/null +++ b/template/block/vue-router-history-mode.conf @@ -0,0 +1,9 @@ +# Nginx UI Template Start +name = "Vue History Router" +author = "@0xJacky" +description = { en = "Vue Router History Mode Config", zh_CN = "Vue Router History 模式配置", zh_TW = "Vue Router History 模式配置" } +# Nginx UI Template End + +location / { + try_files $uri $uri/ /index.html; +}