浏览代码

feat(template): add vue history router config

Jacky 2 月之前
父节点
当前提交
5ce65f7047
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      template/block/vue-router-history-mode.conf

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