1
0
Эх сурвалжийг харах

feat(template): add vue history router config

Jacky 2 сар өмнө
parent
commit
5ce65f7047

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