Browse Source

部署sit

wuweihao 4 years ago
parent
commit
04bd5ff2d4

+ 3 - 1
README.md

@@ -1,5 +1,7 @@
 # museum_dali 大理博物馆 2021-06-07
 
 # sit
-    back: http://8.135.106.227/dali/
+    deploy: 8.135.106.227 -linux
+    web: http://8.135.106.227:8001/web/index.html
+    doc: http://8.135.106.227:8001/doc.html
 

+ 4 - 0
gis_application/src/main/resources/application-dev.properties

@@ -57,6 +57,10 @@ logging.level.com.gis=debug
 # file info
 server.file.path=F:\\test\\ngin\\${project.en}_data\\
 
+spring.mvc.static-path-pattern=/**
+### \u5339\u914D\u8DEF\u5F84\uFF0C \u6CE8\u610Ffile\u540E\u9762\u7684/ \uFF0Cwindows:\\  , linxu:\u5168\u8DEF\u5F84, \u4E0D\u9700\u8981\u7279\u522B\u52A0\u659C\u6760
+spring.resources.static-locations=file:\\${server.file.path}
+
 # url info
 #server.url.prefix=/data/
 

+ 4 - 0
gis_application/src/main/resources/application-sit.properties

@@ -57,6 +57,10 @@ logging.level.com.gis=debug
 # file info
 server.file.path=/root/data/${project.en}_data/
 
+spring.mvc.static-path-pattern=/**
+### \u5339\u914D\u8DEF\u5F84\uFF0C \u6CE8\u610Ffile\u540E\u9762\u7684/ \uFF0Cwindows:\\  , linxu:\u5168\u8DEF\u5F84, \u4E0D\u9700\u8981\u7279\u522B\u52A0\u659C\u6760
+spring.resources.static-locations=file:${server.file.path}
+
 ## url prefix
 #server.url.prefix=/data/