# 19120 ???? # 1918 ???? server.port=19120 server.servlet.context-path=/gzrbmw #mysql spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver #spring.datasource.url=jdbc:mysql://192.168.1.8:23343/gz_real_name?characterEncoding=utf8&connectTimeout=60000&socketTimeout=60000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true #spring.datasource.username=root #spring.datasource.password=Bonus@ynks123! spring.datasource.url=jdbc:mysql://192.168.0.14:4418/gz_real_name?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false spring.datasource.username=root spring.datasource.password=Bonus@admin123! #spring.datasource.url=jdbc:mysql://localhost:13307/gz_rn?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false #spring.datasource.url=jdbc:mysql://10.1.0.141:13306/gz_rn?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false #spring.datasource.username=root #spring.datasource.password=gsyfq@09mysql! spring.datasource.druid.stat-view-servlet.enabled=false spring.datasource.initialSize=5 spring.datasource.minIdle=5 spring.datasource.maxActive=60 spring.datasource.maxWait=60000 spring.datasource.timeBetweenEvictionRunsMillis=60000 spring.datasource.minEvictableIdleTimeMillis=300000 spring.datasource.validationQuery=SELECT 1 spring.datasource.testWhileIdle=true spring.datasource.testOnBorrow=true spring.datasource.testOnReturn=false spring.datasource.poolPreparedStatements=true spring.datasource.maxPoolPreparedStatementPerConnectionSize=20 spring.datasource.filters=stat,wall,log4j spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 spring.devtools.restart.enabled=false spring.devtools.restart.additional-paths=src/main/java server.session.timeout=10 server.tomcat.uri-encoding=UTF-8 #mapper mybatis.mapper-locations=classpath:mappers/*/*Mapper.xml mybatis.type-aliases-package=com.bonus.gzrn.rnbmw.*.entity mybatis.configuration.mapUnderscoreToCamelCase=true #redis config #spring.redis.host=127.0.0.1 #spring.redis.port=6379 #spring.redis.password= spring.redis.host=192.168.0.14 spring.redis.port=2004 spring.redis.password=Plzbns@Redis123! #spring.redis.host=10.1.0.141 #spring.redis.port=6379 #spring.redis.password=bonusadmin logging.config=classpath:logback-boot.xml log.level.root=info log.level.my=debug log.file=logs/sys-back.log log.maxsize=30MB server.max-http-header-size=102400 spring.servlet.multipart.max-file-size=-1 spring.servlet.multipart.max-request-size=-1 spring.http.multipart.maxFileSize=10Mb spring.http.multipart.maxRequestSize=10Mb token.expire.seconds=7200 spring.servlet.multipart.enabled=true files.path=d:\\files #\u767B\u5F55\u9A8C\u8BC1\u7801\u8FC7\u671F\u65F6\u95F4\uFF0C\u5355\u4F4D \u5206\u949F loginCode.expiration = 319 #\u9A8C\u8BC1\u7801redis\u7684key\u503C\u524D\u7F00 loginCode.prefix = login_code # slow http attack Defense # ??????????????? server.tomcat.connection-timeout=5000 # ??KeepAlive??????????? server.tomcat.keep-alive-timeout=5000 # ??????? server.tomcat.max-connections=10000 # ??????? server.tomcat.threads.max=200 # ????????? server.tomcat.threads.min-spare=10 # ???????????????? server.tomcat.max-http-form-post-size=1048576 # ??Tomcat??????? server.tomcat.remoteip.remote-ip-header=x-forwarded-for server.tomcat.remoteip.protocol-header=x-forwarded-proto