From 5894a4a94bd415e6219a5852b05f127fd03e3aba Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 14 七月 2025 16:47:15 +0800
Subject: [PATCH] 支持https协议

---
 se-system/src/main/resources/application-prod.yml |  135 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 135 insertions(+), 0 deletions(-)

diff --git a/se-system/src/main/resources/application-prod.yml b/se-system/src/main/resources/application-prod.yml
new file mode 100644
index 0000000..eaa430f
--- /dev/null
+++ b/se-system/src/main/resources/application-prod.yml
@@ -0,0 +1,135 @@
+server:
+  tomcat:
+    uri-encoding: UTF-8
+    max-connections: 5000
+    max-http-form-post-size: 100MB
+    threads:
+      max: 2000
+  servlet:
+    context-path: /
+
+spring:
+  application:
+    name: se-system
+  mvc:
+    static-path-pattern: /static/**
+  # redis
+  redis:
+    database: 0
+    host: 192.168.11.203
+    port: 6379
+    password: rediS_5L#F4_Server
+    # 杩炴帴瓒呮椂鏃堕暱锛堟绉掞級
+    timeout: 10000
+    lettuce:
+      pool:
+        # 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級
+        max-active: 1000
+        # 杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級
+        max-wait: -1
+        # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺�
+        max-idle: 10
+        # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺�
+        min-idle: 5
+  # session
+  session:
+    # 20鍒嗛挓
+    timeout: PT20M
+  # 璁剧疆涓婁紶鏂囦欢澶у皬
+  servlet:
+    multipart:
+      enabled: true
+      max-file-size: 204800MB
+      max-request-size: 1048576MB
+  # jackson
+  jackson:
+    time-zone: GMT+8
+    date-format: yyyy-MM-dd HH:mm:ss
+    locale: zh_CN
+  thymeleaf:
+    cache: false
+  # datasource
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    url: jdbc:postgresql://192.168.11.203:5432/jhs?useAffectedRows=true
+    username: postgres
+    password: Postgres!_17_jHs
+    driver-class-name: org.postgresql.Driver
+    platform: POSTGRESQL
+    filters: stat,wall,log4j
+    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
+    logAbandoned: true
+    # 閰嶇疆杩炴帴姹犱俊鎭�
+    druid:
+      initial-size: 5
+      min-idle: 5
+      max-active: 100
+      max-wait: 60000
+      time-between-eviction-runs-millis: 60000
+      min-evictable-idle-time-millis: 300000
+      max-pool-prepared-statement-per-connection-size: 50
+      pool-prepared-statements: true
+      validation-query: SELECT 1
+      test-while-idle: true
+      test-on-borrow: false
+      test-on-return: false
+      filters: stat,wall
+      web-stat-filter:
+        enabled: true
+      stat-view-servlet:
+        enabled: true
+        url-pattern: /druid/*
+        reset-enable: false
+        login-username: admin
+        login-password: ad_!Druid!_min
+
+mybatis-plus:
+  type-aliases-package: com.terra.system.entity
+  config-location: classpath:mybatis.xml
+  mapper-locations: classpath:mapper/**/*.xml
+
+# logging
+logging:
+  config: classpath:logback.xml
+
+# RestTemplate config
+remote:
+  maxTotalConnect: 0
+  maxConnectPerRoute: 1000
+  connectTimeout: 30000
+  readTimeout: -1
+
+# 绯荤粺閰嶇疆
+sys:
+  # 鍚敤swagger
+  swaggerEnable: true
+  # 鑷姩鏌ヨ
+  autoQuery: 0
+  # 绠$悊鍛業D
+  admin: ad_Lf1122_min
+  # IIS鐨勪富鏈哄湴鍧�
+  iisHost: 127.0.0.1
+  # FME鏈嶅姟鍦板潃
+  fmeUrl: http://192.168.11.205:88/
+  # FME浠ょ墝
+  fmeToken: c36e4f94-dfde-401e-9967-2c4a449f1300
+  # 鍑哄浘鏈嶅姟
+  exportServer: http://127.0.0.1/ExportMap
+  # Turf鏈嶅姟
+  turfServer: http://127.0.0.1/Turf
+  # Gdal椹卞姩鐩綍
+  gdal_path: E:\terrait\TianJin\Zip\release-1928-x64-dev\release-1928-x64\bin
+  # 鐡︾墖鍦板潃
+  tile_path: E:\data\2d\tiles
+  path:
+    # 涓嬭浇鐩綍
+    download: D:\JHS\data\download
+    # 涓婁紶鐩綍
+    upload: D:\JHS\data\upload
+    # 涓存椂鐩綍
+    temp: D:\JHS\data\temp
+  cad:
+    exePath: C:/360/MxDrawCloudServer1.0TryVersion/MxDrawCloudServer/Bin/MxCAD/Release/mxcadassembly.exe
+    targetPath: C:/360/MxDrawCloudServer1.0TryVersion/MxDrawCloudServer/SRC/TsWeb/public/data
+  # 涓婁紶闄勪欢琛�
+  attachTabs: bd.b_pac_hydrogeology,bd.b_pac_frozensoil

--
Gitblit v1.9.3