| | |
| | | # password: platform |
| | | |
| | | server: |
| | | port: 8888 |
| | | port: 9096 |
| | | servlet: |
| | | context-path: / |
| | | tomcat: |
| | |
| | | spring: |
| | | # 数据源 |
| | | datasource: |
| | | url: jdbc:mysql://127.0.0.1:3306/zhyl?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | url: jdbc:mysql://39.96.92.240:3306/zhyl?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: boying |
| | | # Jasypt加密 可到common-utils中找到JasyptUtil加解密工具类生成加密结果 格式为ENC(加密结果) 以下解密结果为123456 |
| | | password: root |
| | | password: 2009boying |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | # Druid StatViewServlet配置 |
| | |
| | | platform: |
| | | # 全局限流 |
| | | ratelimit: |
| | | enable: true |
| | | enable: false |
| | | # 每1秒内 |
| | | timeout: 1000 |
| | | # 总限制200个请求 |
| | | limit: 200 |
| | | # IP限流 |
| | | iplimit: |
| | | enable: true |
| | | enable: false |
| | | # 每1秒内 |
| | | timeout: 1000 |
| | | # 每个ip限制20个请求 |
| | |
| | | ignored: |
| | | # 无需登录认证的请求 |
| | | urls: |
| | | - /api/** |
| | | - /api2/** |
| | | - /** |
| | | - /platform/file/** |
| | | - /platform/oauth2/** |
| | | - /platform/actuator/** |
| | |
| | | - /**/*.css |
| | | - /**/*.png |
| | | - /**/*.ico |
| | | - /**/*.html |
| | | - /*.html |
| | | |
| | | # Actuator |
| | | management: |