Преглед на файлове

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