Springboot [配置说明描述大全]

前言:

     Springboot的配置文件相关配置,方便查阅!

配置说明:

  1. #############################################################
  2. #                        mvc
  3. #############################################################
  4. spring.mvc.async.request-timeout=设定async请求的超时时间,以毫秒为单位,如果没有设置的话,以具体实现的超时时间为准,比如tomcat的servlet3的话是10秒.
  5. spring.mvc.date-format=设定日期的格式,比如dd/MM/yyyy.
  6. spring.mvc.favicon.enabled=是否支持favicon.ico,默认为:=true
  7. spring.mvc.ignore-default-model-on-redirect=在重定向时是否忽略默认model的内容,默认为true
  8. spring.mvc.locale=指定使用的Locale.
  9. spring.mvc.message-codes-resolver-format=指定message=codes的格式化策略(PREFIX_ERROR_CODE,POSTFIX_ERROR_CODE).
  10. spring.mvc.view.prefix=指定mvc视图的前缀.
  11. spring.mvc.view.suffix=指定mvc视图的后缀.
  12. #############################################################
  13. #                        messages
  14. #############################################################
  15. spring.messages.basename=指定message的basename,多个以逗号分隔,如果不加包名的话,默认从classpath路径开始,默认:=messages
  16. spring.messages.cache-seconds=设定加载的资源文件缓存失效时间,-1的话为永不过期,默认为-1
  17. spring.messages.encoding=设定Message=bundles的编码,默认:=UTF-8
  18. #############################################################
  19. #                        mobile
  20. #############################################################
  21. spring.mobile.devicedelegatingviewresolver.enable-fallback=是否支持fallback的解决方案,默认false
  22. spring.mobile.devicedelegatingviewresolver.enabled=是否开始device=view=resolver,默认为:=false
  23. spring.mobile.devicedelegatingviewresolver.mobile-prefix=设定mobile端视图的前缀,默认为:mobile/
  24. spring.mobile.devicedelegatingviewresolver.mobile-suffix=设定mobile视图的后缀
  25. spring.mobile.devicedelegatingviewresolver.normal-prefix=设定普通设备的视图前缀
  26. spring.mobile.devicedelegatingviewresolver.normal-suffix=设定普通设备视图的后缀
  27. spring.mobile.devicedelegatingviewresolver.tablet-prefix=设定平板设备视图前缀,默认:tablet/
  28. spring.mobile.devicedelegatingviewresolver.tablet-suffix=设定平板设备视图后缀.
  29. spring.mobile.sitepreference.enabled=是否启用SitePreferenceHandler,默认为: true
  30. #############################################################
  31. #                        view
  32. #############################################################
  33. spring.view.prefix=设定mvc视图的前缀.
  34. spring.view.suffix=设定mvc视图的后缀.
  35. #############################################################
  36. #                        resource
  37. #############################################################
  38. spring.resources.add-mappings=是否开启默认的资源处理,默认为true
  39. spring.resources.cache-period=设定资源的缓存时效,以秒为单位.
  40. spring.resources.chain.cache=是否开启缓存,默认为:=true
  41. spring.resources.chain.enabled=是否开启资源=handling=chain,默认为false
  42. spring.resources.chain.html-application-cache=是否开启h5应用的cache=manifest重写,默认为:=false
  43. spring.resources.chain.strategy.content.enabled=是否开启内容版本策略,默认为false
  44. spring.resources.chain.strategy.content.paths=指定要应用的版本的路径,多个以逗号分隔,默认为:[/**]
  45. spring.resources.chain.strategy.fixed.enabled=是否开启固定的版本策略,默认为false
  46. spring.resources.chain.strategy.fixed.paths=指定要应用版本策略的路径,多个以逗号分隔
  47. spring.resources.chain.strategy.fixed.version=指定版本策略使用的版本号
  48. spring.resources.static-locations=指定静态资源路径,默认为classpath:[/META-INF/resources/,/resources/, /static/, /public/]以及context:/
  49. #############################################################
  50. #                        multipart
  51. #############################################################
  52. multipart.enabled=是否开启文件上传支持,默认为true
  53. multipart.file-size-threshold=设定文件写入磁盘的阈值,单位为MB或KB,默认为0
  54. multipart.location=指定文件上传路径.
  55. multipart.max-file-size=指定文件大小最大值,默认1MB
  56. multipart.max-request-size=指定每次请求的最大值,默认为10MB
  57. #############################################################
  58. #                        freemarker
  59. #############################################################
  60. spring.freemarker.allow-request-override=指定HttpServletRequest的属性是否可以覆盖controller的model的同名项
  61. spring.freemarker.allow-session-override=指定HttpSession的属性是否可以覆盖controller的model的同名项
  62. spring.freemarker.cache=是否开启template caching.
  63. spring.freemarker.charset=设定Template的编码.
  64. spring.freemarker.check-template-location=是否检查templates路径是否存在.
  65. spring.freemarker.content-type=设定Content-Type.
  66. spring.freemarker.enabled=是否允许mvc使用freemarker.
  67. spring.freemarker.expose-request-attributes=设定所有request的属性在merge到模板的时候,是否要都添加到model中.
  68. spring.freemarker.expose-session-attributes=设定所有HttpSession的属性在merge到模板的时候,是否要都添加到model中.
  69. spring.freemarker.expose-spring-macro-helpers=设定是否以springMacroRequestContext的形式暴露RequestContext给Spring’s macro library使用
  70. spring.freemarker.prefer-file-system-access=是否优先从文件系统加载template,以支持热加载,默认为true
  71. spring.freemarker.prefix=设定freemarker模板的前缀.
  72. spring.freemarker.request-context-attribute=指定RequestContext属性的名.
  73. spring.freemarker.settings=设定FreeMarker keys.
  74. spring.freemarker.suffix=设定模板的后缀.
  75. spring.freemarker.template-loader-path=设定模板的加载路径,多个以逗号分隔,默认: [“classpath:/templates/”]
  76. spring.freemarker.view-names=指定使用模板的视图列表.
  77. #############################################################
  78. #                        velocity
  79. #############################################################
  80. spring.velocity.allow-request-override=指定HttpServletRequest的属性是否可以覆盖controller的model的同名项
  81. spring.velocity.allow-session-override=指定HttpSession的属性是否可以覆盖controller的model的同名项
  82. spring.velocity.cache=是否开启模板缓存
  83. spring.velocity.charset=设定模板编码
  84. spring.velocity.check-template-location=是否检查模板路径是否存在.
  85. spring.velocity.content-type=设定ContentType的值
  86. spring.velocity.date-tool-attribute=设定暴露给velocity上下文使用的DateTool的名
  87. spring.velocity.enabled=设定是否允许mvc使用velocity
  88. spring.velocity.expose-request-attributes=是否在merge模板的时候,将request属性都添加到model中
  89. spring.velocity.expose-session-attributes=是否在merge模板的时候,将HttpSession属性都添加到model中
  90. spring.velocity.expose-spring-macro-helpers=设定是否以springMacroRequestContext的名来暴露RequestContext给Spring’s macro类库使用
  91. spring.velocity.number-tool-attribute=设定暴露给velocity上下文的NumberTool的名
  92. spring.velocity.prefer-file-system-access=是否优先从文件系统加载模板以支持热加载,默认为true
  93. spring.velocity.prefix=设定velocity模板的前缀.
  94. spring.velocity.properties=设置velocity的额外属性.
  95. spring.velocity.request-context-attribute=设定RequestContext attribute的名.
  96. spring.velocity.resource-loader-path=设定模板路径,默认为: classpath:/templates/
  97. spring.velocity.suffix=设定velocity模板的后缀.
  98. spring.velocity.toolbox-config-location=设定Velocity Toolbox配置文件的路径,比如 /WEB-INF/toolbox.xml.
  99. spring.velocity.view-names=设定需要解析的视图名称.
  100. #############################################################
  101. #                        thymeleaf
  102. #############################################################
  103. spring.thymeleaf.cache=是否开启模板缓存,默认true
  104. spring.thymeleaf.check-template-location=是否检查模板路径是否存在,默认true
  105. spring.thymeleaf.content-type=指定Content-Type,默认为: text/html
  106. spring.thymeleaf.enabled=是否允许MVC使用Thymeleaf,默认为: true
  107. spring.thymeleaf.encoding=指定模板的编码,默认为: UTF-8
  108. spring.thymeleaf.excluded-view-names=指定不使用模板的视图名称,多个以逗号分隔.
  109. spring.thymeleaf.mode 指定模板的模式,具体查看StandardTemplateModeHandlers,默认为: HTML5
  110. spring.thymeleaf.prefix=指定模板的前缀,默认为:classpath:/templates/
  111. spring.thymeleaf.suffix 指定模板的后缀,默认为:.html
  112. spring.thymeleaf.template-resolver-order=指定模板的解析顺序,默认为第一个.
  113. spring.thymeleaf.view-names=指定使用模板的视图名,多个以逗号分隔.
  114. #############################################################
  115. #                        mustcache
  116. #############################################################
  117. spring.mustache.cache=是否Enable template caching.
  118. spring.mustache.charset=指定Template的编码.
  119. spring.mustache.check-template-location=是否检查默认的路径是否存在.
  120. spring.mustache.content-type=指定Content-Type.
  121. spring.mustache.enabled=是否开启mustcache的模板支持.
  122. spring.mustache.prefix=指定模板的前缀,默认: classpath:/templates/
  123. spring.mustache.suffix=指定模板的后缀,默认: .html
  124. spring.mustache.view-names=指定要使用模板的视图名.
  125. #############################################################
  126. #                        groovy模板
  127. #############################################################
  128. spring.groovy.template.allow-request-override=指定HttpServletRequest的属性是否可以覆盖controller的model的同名项
  129. spring.groovy.template.allow-session-override=指定HttpSession的属性是否可以覆盖controller的model的同名项
  130. spring.groovy.template.cache=是否开启模板缓存.
  131. spring.groovy.template.charset=指定Template编码.
  132. spring.groovy.template.check-template-location=是否检查模板的路径是否存在.
  133. spring.groovy.template.configuration.auto-escape=是否在渲染模板时自动排查model的变量,默认为: false
  134. spring.groovy.template.configuration.auto-indent=是否在渲染模板时自动缩进,默认为false
  135. spring.groovy.template.configuration.auto-indent-string=如果自动缩进启用的话,是使用SPACES还是TAB,默认为: SPACES
  136. spring.groovy.template.configuration.auto-new-line=渲染模板时是否要输出换行,默认为false
  137. spring.groovy.template.configuration.base-template-class=指定template base class.
  138. spring.groovy.template.configuration.cache-templates=是否要缓存模板,默认为true
  139. spring.groovy.template.configuration.declaration-encoding=在写入declaration header时使用的编码
  140. spring.groovy.template.configuration.expand-empty-elements=是使用这种形式,还是这种展开模式,默认为: false)
  141. spring.groovy.template.configuration.locale=指定template locale.
  142. spring.groovy.template.configuration.new-line-string=当启用自动换行时,换行的输出,默认为系统的line.separator属性的值
  143. spring.groovy.template.configuration.resource-loader-path=指定groovy的模板路径,默认为classpath:/templates/
  144. spring.groovy.template.configuration.use-double-quotes=指定属性要使用双引号还是单引号,默认为false
  145. spring.groovy.template.content-type=指定Content-Type.
  146. spring.groovy.template.enabled=是否开启groovy模板的支持.
  147. spring.groovy.template.expose-request-attributes=设定所有request的属性在merge到模板的时候,是否要都添加到model中.
  148. spring.groovy.template.expose-session-attributes=设定所有request的属性在merge到模板的时候,是否要都添加到model中.
  149. spring.groovy.template.expose-spring-macro-helpers=设定是否以springMacroRequestContext的形式暴露RequestContext给Spring’s macro library使用
  150. spring.groovy.template.prefix=指定模板的前缀.
  151. spring.groovy.template.request-context-attribute=指定RequestContext属性的名.
  152. spring.groovy.template.resource-loader-path=指定模板的路径,默认为: classpath:/templates/
  153. spring.groovy.template.suffix=指定模板的后缀
  154. spring.groovy.template.view-names=指定要使用模板的视图名称.
  155. #############################################################
  156. #                        http
  157. #############################################################
  158. spring.hateoas.apply-to-primary-object-mapper=设定是否对object mapper也支持HATEOAS,默认为: true
  159. spring.http.converters.preferred-json-mapper=是否优先使用JSON mapper来转换.
  160. spring.http.encoding.charset=指定http请求和相应的Charset,默认: UTF-8
  161. spring.http.encoding.enabled=是否开启http的编码支持,默认为true
  162. spring.http.encoding.force=是否强制对http请求和响应进行编码,默认为true
  163. #############################################################
  164. #                        json
  165. #############################################################
  166. spring.jackson.date-format=指定日期格式,比如yyyy-MM-dd HH:mm:ss,或者具体的格式化类的全限定名
  167. spring.jackson.deserialization=是否开启Jackson的反序列化
  168. spring.jackson.generator=是否开启json的generators.
  169. spring.jackson.joda-date-time-format=指定Joda date/time的格式,比如yyyy-MM-dd HH:mm:ss). 如果没有配置的话,dateformat会作为backup
  170. spring.jackson.locale=指定json使用的Locale.
  171. spring.jackson.mapper=是否开启Jackson通用的特性.
  172. spring.jackson.parser=是否开启jackson的parser特性.
  173. spring.jackson.property-naming-strategy=指定PropertyNamingStrategy (CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES)或者指定PropertyNamingStrategy子类的全限定类名.
  174. spring.jackson.serialization=是否开启jackson的序列化.
  175. spring.jackson.serialization-inclusion=指定序列化时属性的inclusion方式,具体查看JsonInclude.Include枚举.
  176. spring.jackson.time-zone=指定日期格式化时区,比如America/Los_Angeles或者GMT+10.
  177. #############################################################
  178. #                        jersey
  179. #############################################################
  180. spring.jersey.filter.order=指定Jersey filter的order,默认为: 0
  181. spring.jersey.init=指定传递给Jersey的初始化参数.
  182. spring.jersey.type=指定Jersey的集成类型,可以是servlet或者filter.server配置
  183. server.address=指定server绑定的地址
  184. server.compression.enabled=是否开启压缩,默认为false.
  185. server.compression.excluded-user-agents=指定不压缩的user-agent,多个以逗号分隔,默认值为:text/html,text/xml,text/plain,text/css
  186. server.compression.mime-types=指定要压缩的MIME type,多个以逗号分隔.
  187. server.compression.min-response-size=执行压缩的阈值,默认为2048
  188. server.context-parameters.[param name]=设置servlet context 参数
  189. server.context-path=设定应用的context-path.
  190. server.display-name=设定应用的展示名称,默认: application
  191. server.jsp-servlet.class-name=设定编译JSP用的servlet,默认: org.apache.jasper.servlet.JspServlet)
  192. server.jsp-servlet.init-parameters.[param name]=设置JSP servlet 初始化参数.
  193. server.jsp-servlet.registered=设定JSP servlet是否注册到内嵌的servlet容器,默认true
  194. server.port设定http=监听端口
  195. server.servlet-path=设定dispatcher servlet的监听路径,默认为: /
  196. #############################################################
  197. #                        cookie、session配置
  198. #############################################################
  199. server.session.cookie.comment=指定session cookie的comment
  200. server.session.cookie.domain=指定session cookie的domain
  201. server.session.cookie.http-only=是否开启HttpOnly.
  202. server.session.cookie.max-age=设定session cookie的最大age.
  203. server.session.cookie.name=设定Session cookie 的名称.
  204. server.session.cookie.path=设定session cookie的路径.
  205. server.session.cookie.secure=设定session cookie的“Secure” flag.
  206. server.session.persistent=重启时是否持久化session,默认false
  207. server.session.timeoutsession=的超时时间
  208. server.session.tracking-modes=设定Session的追踪模式(cookie, url, ssl).
  209. #############################################################
  210. #                        ssl配置
  211. #############################################################
  212. server.ssl.ciphers 是否支持SSL ciphers.
  213. server.ssl.client-auth 设定client authentication是wanted 还是 needed.
  214. server.ssl.enabled 是否开启ssl,默认: true
  215. server.ssl.key-alias 设定key store中key的别名.
  216. server.ssl.key-password 访问key store中key的密码.
  217. server.ssl.key-store 设定持有SSL certificate的key store的路径,通常是一个.jks文件.
  218. server.ssl.key-store-password 设定访问key store的密码.
  219. server.ssl.key-store-provider 设定key store的提供者.
  220. server.ssl.key-store-type 设定key store的类型.
  221. server.ssl.protocol 使用的SSL协议,默认: TLS
  222. server.ssl.trust-store 持有SSL certificates的Trust store.
  223. server.ssl.trust-store-password 访问trust store的密码.
  224. server.ssl.trust-store-provider 设定trust store的提供者.
  225. server.ssl.trust-store-type 指定trust store的类型.
  226. #############################################################
  227. #                        tomcat
  228. #############################################################
  229. server.tomcat.access-log-enabled 是否开启access log ,默认: false)
  230. server.tomcat.access-log-pattern 设定access logs的格式,默认: common
  231. server.tomcat.accesslog.directory 设定log的目录,默认: logs
  232. server.tomcat.accesslog.enabled 是否开启access log,默认: false
  233. server.tomcat.accesslog.pattern 设定access logs的格式,默认: common
  234. server.tomcat.accesslog.prefix 设定Log 文件的前缀,默认: access_log
  235. server.tomcat.accesslog.suffix 设定Log 文件的后缀,默认: .log
  236. server.tomcat.background-processor-delay 后台线程方法的Delay大小: 30
  237. server.tomcat.basedir 设定Tomcat的base 目录,如果没有指定则使用临时目录.
  238. server.tomcat.internal-proxies 设定信任的正则表达式,默认:“10.\d{1,3}.\d{1,3}.\d{1,3}| 192.168.\d{1,3}.\d{1,3}| 169.254.\d{1,3}.\d{1,3}| 127.\d{1,3}.\d{1,3}.\d{1,3}| 172.1[6-9]{1}.\d{1,3}.\d{1,3}| 172.2[0-9]{1}.\d{1,3}.\d{1,3}|172.3[0-1]{1}.\d{1,3}.\d{1,3}”
  239. server.tomcat.max-http-header-size 设定http header的最小值,默认: 0
  240. server.tomcat.max-threads 设定tomcat的最大工作线程数,默认为: 0
  241. server.tomcat.port-header 设定http header使用的,用来覆盖原来port的value.
  242. server.tomcat.protocol-header 设定Header包含的协议,通常是 X-Forwarded-Proto,如果remoteIpHeader有值,则将设置为RemoteIpValve.
  243. server.tomcat.protocol-header-https-value 设定使用SSL的header的值,默认https.
  244. server.tomcat.remote-ip-header 设定remote IP的header,如果remoteIpHeader有值,则设置为RemoteIpValve
  245. server.tomcat.uri-encoding 设定URI的解码字符集.
  246. #############################################################
  247. #                        undertow
  248. #############################################################
  249. server.undertow.access-log-dir 设定Undertow access log 的目录,默认: logs
  250. server.undertow.access-log-enabled 是否开启access log,默认: false
  251. server.undertow.access-log-pattern 设定access logs的格式,默认: common
  252. server.undertow.accesslog.dir 设定access log 的目录.
  253. server.undertow.buffer-size 设定buffer的大小.
  254. server.undertow.buffers-per-region 设定每个region的buffer数
  255. server.undertow.direct-buffers 设定堆外内存
  256. server.undertow.io-threads 设定I/O线程数.
  257. server.undertow.worker-threads 设定工作线程数
  258. #############################################################
  259. #                        datasource
  260. #############################################################
  261. spring.dao.exceptiontranslation.enabled 是否开启PersistenceExceptionTranslationPostProcessor,默认为true
  262. spring.datasource.abandon-when-percentage-full 设定超时被废弃的连接占到多少比例时要被关闭或上报
  263. spring.datasource.allow-pool-suspension 使用Hikari pool时,是否允许连接池暂停,默认为: false
  264. spring.datasource.alternate-username-allowed 是否允许替代的用户名.
  265. spring.datasource.auto-commit 指定updates是否自动提交.
  266. spring.datasource.catalog 指定默认的catalog.
  267. spring.datasource.commit-on-return 设置当连接被归还时,是否要提交所有还未完成的事务
  268. spring.datasource.connection-init-sql 指定连接被创建,再被添加到连接池之前执行的sql.
  269. spring.datasource.connection-init-sqls 使用DBCP connection pool时,指定初始化时要执行的sql
  270. spring.datasource.connection-properties.[key] 在使用DBCP connection pool时指定要配置的属性
  271. spring.datasource.connection-test-query 指定校验连接合法性执行的sql语句
  272. spring.datasource.connection-timeout 指定连接的超时时间,毫秒单位.
  273. spring.datasource.continue-on-error 在初始化数据库时,遇到错误是否继续,默认false
  274. spring.datasource.data 指定Data (DML)脚本
  275. spring.datasource.data-source-class-name 指定数据源的全限定名.
  276. spring.datasource.data-source-jndi 指定jndi的地址
  277. spring.datasource.data-source-properties.[key] 使用Hikari connection pool时,指定要设置的属性
  278. spring.datasource.db-properties 使用Tomcat connection pool,指定要设置的属性
  279. spring.datasource.default-auto-commit 是否自动提交.
  280. spring.datasource.default-catalog 指定连接默认的catalog.
  281. spring.datasource.default-read-only 是否设置默认连接只读.
  282. spring.datasource.default-transaction-isolation 指定连接的事务的默认隔离级别.
  283. spring.datasource.driver-class-name 指定driver的类名,默认从jdbc url中自动探测.
  284. spring.datasource.fair-queue 是否采用FIFO返回连接.
  285. spring.datasource.health-check-properties.[key] 使用Hikari connection pool时,在心跳检查时传递的属性
  286. spring.datasource.idle-timeout 指定连接多久没被使用时,被设置为空闲,默认为10ms
  287. spring.datasource.ignore-exception-on-pre-load 当初始化连接池时,是否忽略异常.
  288. spring.datasource.init-sql 当连接创建时,执行的sql
  289. spring.datasource.initial-size 指定启动连接池时,初始建立的连接数量
  290. spring.datasource.initialization-fail-fast 当创建连接池时,没法创建指定最小连接数量是否抛异常
  291. spring.datasource.initialize 指定初始化数据源,是否用data.sql来初始化,默认: true
  292. spring.datasource.isolate-internal-queries 指定内部查询是否要被隔离,默认为false
  293. spring.datasource.jdbc-interceptors 使用Tomcat connection pool时,指定jdbc拦截器,分号分隔
  294. spring.datasource.jdbc-url 指定JDBC URL.
  295. spring.datasource.jmx-enabled 是否开启JMX,默认为: false
  296. spring.datasource.jndi-name 指定jndi的名称.
  297. spring.datasource.leak-detection-threshold 使用Hikari connection pool时,多少毫秒检测一次连接泄露.
  298. spring.datasource.log-abandoned 使用DBCP connection pool,是否追踪废弃statement或连接,默认为: false
  299. spring.datasource.log-validation-errors 当使用Tomcat connection pool是否打印校验错误.
  300. spring.datasource.login-timeout 指定连接数据库的超时时间.
  301. spring.datasource.max-active 指定连接池中最大的活跃连接数.
  302. spring.datasource.max-age 指定连接池中连接的最大年龄
  303. spring.datasource.max-idle 指定连接池最大的空闲连接数量.
  304. spring.datasource.max-lifetime 指定连接池中连接的最大生存时间,毫秒单位.
  305. spring.datasource.max-open-prepared-statements 指定最大的打开的prepared statements数量.
  306. spring.datasource.max-wait 指定连接池等待连接返回的最大等待时间,毫秒单位.
  307. spring.datasource.maximum-pool-size 指定连接池最大的连接数,包括使用中的和空闲的连接.
  308. spring.datasource.min-evictable-idle-time-millis 指定一个空闲连接最少空闲多久后可被清除.
  309. spring.datasource.min-idle 指定必须保持连接的最小值(For DBCP and Tomcat connection pools)
  310. spring.datasource.minimum-idle 指定连接维护的最小空闲连接数,当使用HikariCP时指定.
  311. spring.datasource.name 指定数据源名.
  312. spring.datasource.num-tests-per-eviction-run 指定运行每个idle object evictor线程时的对象数量
  313. spring.datasource.password 指定数据库密码.
  314. spring.datasource.platform 指定schema要使用的Platform(schema-${platform}.sql),默认为: all
  315. spring.datasource.pool-name 指定连接池名字.
  316. spring.datasource.pool-prepared-statements 指定是否池化statements.
  317. spring.datasource.propagate-interrupt-state 在等待连接时,如果线程被中断,是否传播中断状态.
  318. spring.datasource.read-only 当使用Hikari connection pool时,是否标记数据源只读
  319. spring.datasource.register-mbeans 指定Hikari connection pool是否注册JMX MBeans.
  320. spring.datasource.remove-abandoned 指定当连接超过废弃超时时间时,是否立刻删除该连接.
  321. spring.datasource.remove-abandoned -timeout指定连接应该被废弃的时间.
  322. spring.datasource.rollback-on-return 在归还连接时,是否回滚等待中的事务.
  323. spring.datasource.schema 指定Schema (DDL)脚本.
  324. spring.datasource.separator 指定初始化脚本的语句分隔符,默认: ;
  325. spring.datasource.sql-script-encoding 指定SQL scripts编码.
  326. spring.datasource.suspect-timeout 指定打印废弃连接前的超时时间.
  327. spring.datasource.test-on-borrow 当从连接池借用连接时,是否测试该连接.
  328. spring.datasource.test-on-connect 创建时,是否测试连接
  329. spring.datasource.test-on-return 在连接归还到连接池时是否测试该连接.
  330. spring.datasource.test-while-idle 当连接空闲时,是否执行连接测试.
  331. spring.datasource.time-between-eviction-runs-millis 指定空闲连接检查、废弃连接清理、空闲连接池大小调整之间的操作时间间隔
  332. spring.datasource.transaction-isolation 指定事务隔离级别,使用Hikari connection pool时指定
  333. spring.datasource.url 指定JDBC URL.
  334. spring.datasource.use-disposable-connection-facade 是否对连接进行包装,防止连接关闭之后被使用.
  335. spring.datasource.use-equals 比较方法名时是否使用String.equals()替换==.
  336. spring.datasource.use-lock 是否对连接操作加锁
  337. spring.datasource.username 指定数据库名.
  338. spring.datasource.validation-interval 指定多少ms执行一次连接校验.
  339. spring.datasource.validation-query 指定获取连接时连接校验的sql查询语句.
  340. spring.datasource.validation-query-timeout 指定连接校验查询的超时时间.
  341. spring.datasource.validation-timeout 设定连接校验的超时时间,当使用Hikari connection pool时指定
  342. spring.datasource.validator-class-name 用来测试查询的validator全限定名.
  343. spring.datasource.xa.data-source-class-name 指定数据源的全限定名.
  344. spring.datasource.xa.properties 指定传递给XA data source的属性
  345. #############################################################
  346. #                        JPA
  347. #############################################################
  348. spring.jpa.database 指定目标数据库.
  349. spring.jpa.database-platform 指定目标数据库的类型.
  350. spring.jpa.generate-ddl 是否在启动时初始化schema,默认为false
  351. spring.jpa.hibernate.ddl-auto 指定DDL mode (none, validate, update, create, create-drop). 当使用内嵌数据库时,默认是create-drop,否则为none.
  352. spring.jpa.hibernate.naming-strategy 指定命名策略.
  353. spring.jpa.open-in-view 是否注册OpenEntityManagerInViewInterceptor,绑定JPA EntityManager到请求线程中,默认为: true
  354. spring.jpa.properties 添加额外的属性到JPA provider.
  355. spring.jpa.show-sql 是否开启sql的log,默认为: false
  356.  
  357. #############################################################
  358. #                        jooq
  359. #############################################################
  360. spring.jooq.sql-dialect 指定JOOQ使用的SQLDialect,比如POSTGRES.
  361. #############################################################
  362. #                        h2
  363. #############################################################
  364. spring.h2.console.enabled 是否开启控制台,默认为false
  365. spring.h2.console.path 指定控制台路径,默认为: /h2-console
  366. #############################################################
  367. #                        JTA
  368. #############################################################
  369. spring.jta.allow-multiple-lrc 是否允许 multiple LRC,默认为: false
  370. spring.jta.asynchronous2-pc 指定两阶段提交是否可以异步,默认为: false
  371. spring.jta.background-recovery-interval 指定多少分钟跑一次recovery process,默认为: 1
  372. spring.jta.background-recovery-interval-seconds 指定多久跑一次recovery process,默认: 60
  373. spring.jta.current-node-only-recovery 是否过滤掉其他非本JVM的recovery,默认为: true
  374. spring.jta.debug-zero-resource-transaction 是否追踪没有使用指定资源的事务,默认为: false
  375. spring.jta.default-transaction-timeout 设定默认的事务超时时间,默认为60
  376. spring.jta.disable-jmx 是否禁用jmx,默认为false
  377. spring.jta.enabled 是否开启JTA support,默认为: true
  378. spring.jta.exception-analyzer 设置指定的异常分析类
  379. spring.jta.filter-log-status 使用Bitronix Transaction Manager时,是否写mandatory logs,开启的话,可以节省磁盘空间,但是调试会复杂写,默认为false
  380. spring.jta.force-batching-enabled 使用Bitronix Transaction Manager时,是否批量写磁盘,默认为true.
  381. spring.jta.forced-write-enabled 使用Bitronix Transaction Manager时,是否强制写日志到磁盘,默认为true
  382. spring.jta.graceful-shutdown-interval 当使用Bitronix Transaction Manager,指定shutdown时等待事务结束的时间,超过则中断,默认为60
  383. spring.jta.jndi-transaction-synchronization-registry-name 当使用Bitronix Transaction Manager时,在JNDI下得事务同步registry,默认为: java:comp/TransactionSynchronizationRegistry
  384. spring.jta.jndi-user-transaction-name 指定在JNDI使用Bitronix Transaction Manager的名称,默认:java:comp/UserTransaction
  385. spring.jta.journal 当使用Bitronix Transaction Manager,指定The journal是否disk还是null还是一个类的全限定名,默认disk
  386. spring.jta.log-dirTransaction logs directory.
  387. spring.jta.log-part1-filename 指定The journal fragment文件1的名字,默认: btm1.tlog
  388. spring.jta.log-part2-filename 指定The journal fragment文件2的名字,默认: btm2.tlog
  389. spring.jta.max-log-size-in-mb 指定journal fragments大小的最大值. 默认: 2M
  390. spring.jta.resource-configuration-filename 指定Bitronix Transaction Manager配置文件名.
  391. spring.jta.server-id 指定Bitronix Transaction Manager实例的id.
  392. spring.jta.skip-corrupted-logs 是否忽略corrupted log files文件,默认为false.
  393. spring.jta.transaction-manager-id 指定Transaction manager的唯一标识.
  394. spring.jta.warn-about-zero-resource-transaction 当使用Bitronix Transaction Manager时,是否对没有使用指定资源的事务进行警告,默认为: true
  395. #############################################################
  396. #                        cache
  397. #############################################################
  398. spring.cache.cache-names 指定要创建的缓存的名称,逗号分隔(若该缓存实现支持的话)
  399. spring.cache.ehcache.config 指定初始化EhCache时使用的配置文件的位置指定.
  400. spring.cache.guava.spec 指定创建缓存要使用的spec,具体详见CacheBuilderSpec.
  401. spring.cache.hazelcast.config 指定初始化Hazelcast时的配置文件位置
  402. spring.cache.infinispan.config 指定初始化Infinispan时的配置文件位置.
  403. spring.cache.jcache.config 指定jcache的配置文件.
  404. spring.cache.jcache.provider 指定CachingProvider实现类的全限定名.
  405. spring.cache.type 指定缓存类型
  406. #############################################################
  407. #                        mongodb
  408. #############################################################
  409. spring.mongodb.embedded.features 指定要开启的特性,逗号分隔.
  410. spring.mongodb.embedded.version 指定要使用的版本,默认: 2.6.10
  411. #############################################################
  412. #                        redis
  413. #############################################################
  414. spring.redis.database 指定连接工厂使用的Database index,默认为: 0
  415. spring.redis.host 指定Redis server host,默认为: localhost
  416. spring.redis.password 指定Redis server的密码
  417. spring.redis.pool.max-active 指定连接池最大的活跃连接数,-1表示无限,默认为8
  418. spring.redis.pool.max-idle 指定连接池最大的空闲连接数,-1表示无限,默认为8
  419. spring.redis.pool.max-wait 指定当连接池耗尽时,新获取连接需要等待的最大时间,以毫秒单位,-1表示无限等待
  420. spring.redis.pool.min-idle 指定连接池中空闲连接的最小数量,默认为0
  421. spring.redis.port 指定redis服务端端口,默认: 6379
  422. spring.redis.sentinel.master 指定redis server的名称
  423. spring.redis.sentinel.nodes 指定sentinel节点,逗号分隔,格式为host:port.
  424. spring.redis.timeout 指定连接超时时间,毫秒单位,默认为0
  425. #############################################################
  426. #                        springdata
  427. #############################################################
  428. spring.data.elasticsearch.cluster-name 指定es集群名称,默认: elasticsearch
  429. spring.data.elasticsearch.cluster-nodes 指定es的集群,逗号分隔,不指定的话,则启动client node.
  430. spring.data.elasticsearch.properties 指定要配置的es属性.
  431. spring.data.elasticsearch.repositories.enabled 是否开启es存储,默认为: true
  432. spring.data.jpa.repositories.enabled 是否开启JPA支持,默认为: true
  433. spring.data.mongodb.authentication-database 指定鉴权的数据库名
  434. spring.data.mongodb.database 指定mongodb数据库名
  435. spring.data.mongodb.field-naming-strategy 指定要使用的FieldNamingStrategy.
  436. spring.data.mongodb.grid-fs-database 指定GridFS database的名称.
  437. spring.data.mongodb.host 指定Mongo server host.
  438. spring.data.mongodb.password 指定Mongo server的密码.
  439. spring.data.mongodb.port 指定Mongo server port.
  440. spring.data.mongodb.repositories.enabled 是否开启mongodb存储,默认为true
  441. spring.data.mongodb.uri 指定Mongo database URI.默认:mongodb://localhost/test
  442. spring.data.mongodb.username 指定登陆mongodb的用户名.
  443. spring.data.rest.base-path 指定暴露资源的基准路径.
  444. spring.data.rest.default-page-size 指定每页的大小,默认为: 20
  445. spring.data.rest.limit-param-name 指定limit的参数名,默认为: size
  446. spring.data.rest.max-page-size 指定最大的页数,默认为1000
  447. spring.data.rest.page-param-name 指定分页的参数名,默认为: page
  448. spring.data.rest.return-body-on-create 当创建完实体之后,是否返回body,默认为false
  449. spring.data.rest.return-body-on-update 在更新完实体后,是否返回body,默认为false
  450. spring.data.rest.sort-param-name 指定排序使用的key,默认为: sort
  451. spring.data.solr.host 指定Solr host,如果有指定了zk的host的话,则忽略。默认为: http://127.0.0.1:8983/solr
  452. spring.data.solr.repositories.enabled 是否开启Solr repositories,默认为: true
  453. spring.data.solr.zk-host 指定zk的地址,格式为HOST:PORT.
  454. #############################################################
  455. #                        activemq
  456. #############################################################
  457. spring.activemq.broker-url 指定ActiveMQ broker的URL,默认自动生成.
  458. spring.activemq.in-memory 是否是内存模式,默认为true.
  459. spring.activemq.password 指定broker的密码.
  460. spring.activemq.pooled 是否创建PooledConnectionFactory,而非ConnectionFactory,默认false
  461. spring.activemq.user 指定broker的用户.
  462. #############################################################
  463. #                        artemis(HornetQ捐献给apache后的版本)
  464. #############################################################
  465. spring.artemis.embedded.cluster-password 指定集群的密码,默认是启动时随机生成.
  466. spring.artemis.embedded.data-directory 指定Journal文件的目录.如果不开始持久化则不必要指定.
  467. spring.artemis.embedded.enabled 是否开启内嵌模式,默认true
  468. spring.artemis.embedded.persistent 是否开启persistent store,默认false.
  469. spring.artemis.embedded.queues 指定启动时创建的队列,多个用逗号分隔,默认: []
  470. spring.artemis.embedded.server-id 指定Server ID. 默认是一个自增的数字,从0开始.
  471. spring.artemis.embedded.topics 指定启动时创建的topic,多个的话逗号分隔,默认: []
  472. spring.artemis.host 指定Artemis broker 的host. 默认: localhost
  473. spring.artemis.mode 指定Artemis 的部署模式, 默认为auto-detected(也可以为native or embedded).
  474. spring.artemis.port 指定Artemis broker 的端口,默认为: 61616
  475. #############################################################
  476. #                        rabbitmq
  477. #############################################################
  478. spring.rabbitmq.addresses 指定client连接到的server的地址,多个以逗号分隔.
  479. spring.rabbitmq.dynamic 是否创建AmqpAdmin bean. 默认为: true)
  480. spring.rabbitmq.host 指定RabbitMQ host.默认为: localhost)
  481. spring.rabbitmq.listener.acknowledge-mode 指定Acknowledge的模式.
  482. spring.rabbitmq.listener.auto-startup 是否在启动时就启动mq,默认: true)
  483. spring.rabbitmq.listener.concurrency 指定最小的消费者数量.
  484. spring.rabbitmq.listener.max-concurrency 指定最大的消费者数量.
  485. spring.rabbitmq.listener.prefetch 指定一个请求能处理多少个消息,如果有事务的话,必须大于等于transaction数量.
  486. spring.rabbitmq.listener.transaction-size 指定一个事务处理的消息数量,最好是小于等于prefetch的数量.
  487. spring.rabbitmq.password 指定broker的密码.
  488. spring.rabbitmq.port 指定RabbitMQ 的端口,默认: 5672)
  489. spring.rabbitmq.requested-heartbeat 指定心跳超时,0为不指定.
  490. spring.rabbitmq.ssl.enabled 是否开始SSL,默认: false)
  491. spring.rabbitmq.ssl.key-store 指定持有SSL certificate的key store的路径
  492. spring.rabbitmq.ssl.key-store-password 指定访问key store的密码.
  493. spring.rabbitmq.ssl.trust-store 指定持有SSL certificates的Trust store.
  494. spring.rabbitmq.ssl.trust-store-password 指定访问trust store的密码.
  495. spring.rabbitmq.username 指定登陆broker的用户名.
  496. spring.rabbitmq.virtual-host 指定连接到broker的Virtual host.
  497. #############################################################
  498. #                        hornetq
  499. #############################################################
  500. spring.hornetq.embedded.cluster-password 指定集群的密码,默认启动时随机生成.
  501. spring.hornetq.embedded.data-directory 指定Journal file 的目录. 如果不开启持久化则不必指定.
  502. spring.hornetq.embedded.enabled 是否开启内嵌模式,默认:true
  503. spring.hornetq.embedded.persistent 是否开启persistent store,默认: false
  504. spring.hornetq.embedded.queues 指定启动是创建的queue,多个以逗号分隔,默认: []
  505. spring.hornetq.embedded.server-id 指定Server ID. 默认使用自增数字,从0开始.
  506. spring.hornetq.embedded.topics 指定启动时创建的topic,多个以逗号分隔,默认: []
  507. spring.hornetq.host 指定HornetQ broker 的host,默认: localhost
  508. spring.hornetq.mode 指定HornetQ 的部署模式,默认是auto-detected,也可以指定native 或者 embedded.
  509. spring.hornetq.port 指定HornetQ broker 端口,默认: 5445
  510. #############################################################
  511. #                        jms
  512. #############################################################
  513. spring.jms.jndi-name 指定Connection factory JNDI 名称.
  514. spring.jms.listener.acknowledge-mode 指定ack模式,默认自动ack.
  515. spring.jms.listener.auto-startup 是否启动时自动启动jms,默认为: true
  516. spring.jms.listener.concurrency 指定最小的并发消费者数量.
  517. spring.jms.listener.max-concurrency 指定最大的并发消费者数量.
  518. spring.jms.pub-sub-domain 是否使用默认的destination type来支持 publish/subscribe,默认: false
  519. #############################################################
  520. #                        security
  521. #############################################################
  522. security.basic.authorize-mode 要使用权限控制模式.
  523. security.basic.enabled 是否开启基本的鉴权,默认为true
  524. security.basic.path 需要鉴权的path,多个的话以逗号分隔,默认为[/**]
  525. security.basic.realm HTTP basic realm 的名字,默认为Spring
  526. security.enable-csrf 是否开启cross-site request forgery校验,默认为false.
  527. security.filter-order Security filter chain的order,默认为0
  528. security.headers.cache 是否开启http头部的cache控制,默认为false.
  529. security.headers.content-type 是否开启X-Content-Type-Options头部,默认为false.
  530. security.headers.frame 是否开启X-Frame-Options头部,默认为false.
  531. security.headers.hsts 指定HTTP Strict Transport Security (HSTS)模式(none, domain, all).
  532. security.headers.xss 是否开启cross-site scripting (XSS) 保护,默认为false.
  533. security.ignored 指定不鉴权的路径,多个的话以逗号分隔.
  534. security.oauth2.client.access-token-uri 指定获取access token的URI.
  535. security.oauth2.client.access-token-validity-seconds 指定access token失效时长.
  536. security.oauth2.client.additional-information.[key] 设定要添加的额外信息.
  537. security.oauth2.client.authentication-scheme 指定传输不记名令牌(bearer token)的方式(form, header, none,query),默认为header
  538. security.oauth2.client.authorities 指定授予客户端的权限.
  539. security.oauth2.client.authorized-grant-types 指定客户端允许的grant types.
  540. security.oauth2.client.auto-approve-scopes 对客户端自动授权的scope.
  541. security.oauth2.client.client-authentication-scheme 传输authentication credentials的方式(form, header, none, query),默认为header方式
  542. security.oauth2.client.client-id 指定OAuth2 client ID.
  543. security.oauth2.client.client-secret 指定OAuth2 client secret. 默认是一个随机的secret.
  544. security.oauth2.client.grant-type 指定获取资源的access token的授权类型.
  545. security.oauth2.client.id 指定应用的client ID.
  546. security.oauth2.client.pre-established-redirect-uri 服务端pre-established的跳转URI.
  547. security.oauth2.client.refresh-token-validity-seconds 指定refresh token的有效期.
  548. security.oauth2.client.registered-redirect-uri 指定客户端跳转URI,多个以逗号分隔.
  549. security.oauth2.client.resource-ids 指定客户端相关的资源id,多个以逗号分隔.
  550. security.oauth2.client.scopeclient 的scope
  551. security.oauth2.client.token-name 指定token的名称
  552. security.oauth2.client.use-current-uri 是否优先使用请求中URI,再使用pre-established的跳转URI. 默认为true
  553. security.oauth2.client.user-authorization-uri 用户跳转去获取access token的URI.
  554. security.oauth2.resource.id 指定resource的唯一标识.
  555. security.oauth2.resource.jwt.key-uri JWT token的URI. 当key为公钥时,或者value不指定时指定.
  556. security.oauth2.resource.jwt.key-value JWT token验证的value. 可以是对称加密或者PEMencoded RSA公钥. 可以使用URI作为value.
  557. security.oauth2.resource.prefer-token-info 是否使用token info,默认为true
  558. security.oauth2.resource.service-id 指定service ID,默认为resource.
  559. security.oauth2.resource.token-info-uritoken 解码的URI.
  560. security.oauth2.resource.token-type 指定当使用userInfoUri时,发送的token类型.
  561. security.oauth2.resource.user-info-uri 指定user info的URI
  562. security.oauth2.sso.filter-order 如果没有显示提供WebSecurityConfigurerAdapter时指定的Filter order.
  563. security.oauth2.sso.login-path 跳转到SSO的登录路径默认为/login.
  564. security.require-ssl 是否对所有请求开启SSL,默认为false.
  565. security.sessions 指定Session的创建策略(always, never, if_required, stateless).
  566. security.user.name 指定默认的用户名,默认为user.
  567. security.user.password 默认的用户密码.
  568. security.user.role 默认用户的授权角色.
  569. #############################################################
  570. #    SpringBoot支持了两种数据库迁移工具,一个是flyway,一个是liquibase。其本身也支持sql script,在初始化数据源之后执行指定的脚本。
  571. #    flyway
  572. #############################################################
  573. flyway.baseline-description 对执行迁移时基准版本的描述.
  574. flyway.baseline-on-migrate 当迁移时发现目标schema非空,而且带有没有元数据的表时,是否自动执行基准迁移,默认false.
  575. flyway.baseline-version 开始执行基准迁移时对现有的schema的版本打标签,默认值为1.
  576. flyway.check-location 检查迁移脚本的位置是否存在,默认false.
  577. flyway.clean-on-validation-error 当发现校验错误时是否自动调用clean,默认false.
  578. flyway.enabled 是否开启flywary,默认true.
  579. flyway.encoding 设置迁移时的编码,默认UTF-8.
  580. flyway.ignore-failed-future-migration 当读取元数据表时是否忽略错误的迁移,默认false.
  581. flyway.init-sqls 当初始化好连接时要执行的SQL.
  582. flyway.locations 迁移脚本的位置,默认db/migration.
  583. flyway.out-of-order 是否允许无序的迁移,默认false.
  584. flyway.password 目标数据库的密码.
  585. flyway.placeholder-prefix 设置每个placeholder的前缀,默认${.
  586. flyway.placeholder-replacementplaceholders 是否要被替换,默认true.
  587. flyway.placeholder-suffix 设置每个placeholder的后缀,默认}.
  588. flyway.placeholders.[placeholder name] 设置placeholder的value
  589. flyway.schemas 设定需要flywary迁移的schema,大小写敏感,默认为连接默认的schema.
  590. flyway.sql-migration-prefix 迁移文件的前缀,默认为V.
  591. flyway.sql-migration-separator 迁移脚本的文件名分隔符,默认__
  592. flyway.sql-migration-suffix 迁移脚本的后缀,默认为.sql
  593. flyway.tableflyway 使用的元数据表名,默认为schema_version
  594. flyway.target 迁移时使用的目标版本,默认为latest version
  595. flyway.url 迁移时使用的JDBC URL,如果没有指定的话,将使用配置的主数据源
  596. flyway.user 迁移数据库的用户名
  597. flyway.validate-on-migrate 迁移时是否校验,默认为true.
  598. #############################################################
  599. #                        liquibase
  600. #############################################################
  601. liquibase.change-logChange log 配置文件的路径,默认值为classpath:/db/changelog/db.changelog-master.yaml
  602. liquibase.check-change-log-location 是否坚持change log的位置是否存在,默认为true.
  603. liquibase.contexts 逗号分隔的运行时context列表.
  604. liquibase.default-schema 默认的schema.
  605. liquibase.drop-first 是否首先drop schema,默认为false
  606. liquibase.enabled 是否开启liquibase,默认为true.
  607. liquibase.password 目标数据库密码
  608. liquibase.url 要迁移的JDBC URL,如果没有指定的话,将使用配置的主数据源.
  609. liquibase.user 目标数据用户名
  610. #############################################################
  611. #                        aop
  612. #############################################################
  613. spring.aop.auto 是否支持@EnableAspectJAutoProxy,默认为: true
  614. spring.aop.proxy-target-classtrue 为使用CGLIB代理,false为JDK代理,默认为false
  615. #############################################################
  616. #                        application
  617. #############################################################
  618. spring.application.admin.enabled 是否启用admin特性,默认为: false
  619. spring.application.admin.jmx-name 指定admin MBean的名称,默认为: org.springframework.boot:type=Admin,name=SpringApplication
  620. #############################################################
  621. #                        autoconfig
  622. #############################################################
  623. spring.autoconfigure.exclude 配置要排除的Auto-configuration classes.
  624. #############################################################
  625. #                        batch
  626. #############################################################
  627. spring.batch.initializer.enabled 是否在必要时创建batch表,默认为true
  628. spring.batch.job.enabled 是否在启动时开启batch job,默认为true
  629. spring.batch.job.names 指定启动时要执行的job的名称,逗号分隔,默认所有job都会被执行
  630. spring.batch.schema 指定要初始化的sql语句路径,默认:classpath:org/springframework/batch/core/schema-@@platform@@.sql)
  631. spring.batch.table-prefix 指定批量处理的表的前缀.
  632. #############################################################
  633. #                        jmx
  634. #############################################################
  635. spring.jmx.default-domain 指定JMX domain name.
  636. spring.jmx.enabled 是否暴露jmx,默认为true
  637. spring.jmx.server 指定MBeanServer bean name. 默认为: mbeanServer)
  638. #############################################################
  639. #                        mail
  640. #############################################################
  641. spring.mail.default-encoding 指定默认MimeMessage的编码,默认为: UTF-8
  642. spring.mail.hos t指定SMTP server host.
  643. spring.mail.jndi-name 指定mail的jndi名称
  644. spring.mail.password 指定SMTP server登陆密码.
  645. spring.mail.port 指定SMTP server port.
  646. spring.mail.properties 指定JavaMail session属性.
  647. spring.mail.protocol 指定SMTP server使用的协议,默认为: smtp
  648. spring.mail.test-connection 指定是否在启动时测试邮件服务器连接,默认为false
  649. spring.mail.username 指定SMTP server的用户名.
  650. #############################################################
  651. #                        sendgrid
  652. #############################################################
  653. spring.sendgrid.password 指定SendGrid password.
  654. spring.sendgrid.proxy.host 指定SendGrid proxy host.
  655. spring.sendgrid.proxy.port 指定SendGrid proxy port.
  656. spring.sendgrid.username 指定SendGrid username.
  657. #############################################################
  658. #                        social
  659. #############################################################
  660. spring.social.auto-connection-views 是否开启连接状态的视图,默认为false
  661. spring.social.facebook.app-id 指定应用id
  662. spring.social.facebook.app-secret 指定应用密码
  663. spring.social.linkedin.app-id 指定应用id
  664. spring.social.linkedin.app-secret 指定应用密码
  665. spring.social.twitter.app-id 指定应用ID.
  666. spring.social.twitter.app-secret 指定应用密码
  667. --------------------- 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值