feige
2025-04-08 b3ae2d10a3ff63285fd194e93682c4b773663a8a
ruoyi-admin/src/main/resources/application.yml
@@ -19,6 +19,14 @@
server:
  # 服务器的HTTP端口,默认为8080
  port: 8080
  ssl: #ssl配置
    # resources根目录的”证书源文件.pfx“
    key-store: classpath:www.bendudu.com.pfx
    # “.pfx”证书对应格式,“.jks"证书对应“RSA”
    key-store-type: PKCS12
    key-store-password: 5yheh725
    #key-password: 私钥密码
  servlet:
    # 应用的访问路径
    context-path: /
@@ -49,6 +57,10 @@
# Spring配置
spring:
  #es配置
  elasticsearch:
    host: 47.93.189.255
    port: 8087
  # 资源信息
  messages:
    # 国际化资源文件路径
@@ -59,9 +71,9 @@
  servlet:
     multipart:
       # 单个文件大小
       max-file-size:  10MB
       max-file-size:  1000MB
       # 设置总上传的文件大小
       max-request-size:  20MB
       max-request-size:  200000MB
  # 服务模块
  devtools:
    restart:
@@ -124,7 +136,7 @@
  pathMapping: /dev-api
# 防止XSS攻击
xss:
xss:
  # 过滤开关
  enabled: true
  # 排除链接(多个用逗号分隔)
@@ -132,3 +144,11 @@
  # 匹配链接
  urlPatterns: /system/*,/monitor/*,/tool/*
#腾讯云
tencent:
  cos:
    secret-id: AKIDOelfP1QbZJq9E5j9LI2YptwlNlvsbBf0       # 替换为实际SecretId
    secret-key: DCxVpvnRt89wVs2ygATYZWOMFzXtAHB3    # 替换为实际SecretKey
    bucket-name: examplebucket-22222-1346631008  # 存储桶名称
    region: ap-guangzhou            # 存储桶地域
    base-url: https://examplebucket-22222-1346631008.cos.ap-guangzhou.myqcloud.com # 访问基础URL