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; +}