springboot-配置文件大全

# ----------------------------------------

# 核心屬性

# ----------------------------------------

# 文件編碼

banner.charset= UTF-8

# 文件位置

banner.location= classpath:banner.txt

# 日志配置

# 日志配置文件的位置。 例如對(duì)于Logback的`classpath:logback.xml`

logging.config=?

# %wEx#記錄異常時(shí)使用的轉(zhuǎn)換字。

logging.exception-conversion-word=?

# 日志文件名。 例如`myapp.log`

logging.file=?

# 日志級(jí)別嚴(yán)重性映射。 例如`logging.level.org.springframework =? DEBUG`

logging.level.*=?

# 日志文件的位置。 例如`/ var / log`

logging.path=?

# 用于輸出到控制臺(tái)的Appender模式。 只支持默認(rèn)的logback設(shè)置。

logging.pattern.console=?

# 用于輸出到文件的Appender模式。 只支持默認(rèn)的logback設(shè)置。

logging.pattern.file=?

# 日志級(jí)別的Appender模式(默認(rèn)%5p)。 只支持默認(rèn)的logback設(shè)置。

logging.pattern.level=?

#注冊(cè)日志記錄系統(tǒng)的初始化掛鉤。

logging.register-shutdown-hook= false

# AOP 切面

# 添加@EnableAspectJAutoProxy。

spring.aop.auto= true

# 是否要?jiǎng)?chuàng)建基于子類(lèi)(CGLIB)的代理(true),而不是基于標(biāo)準(zhǔn)的基于Java接口的代理(false)。

spring.aop.proxy-target-class= false

# 應(yīng)用程序上下文初始化器

# 應(yīng)用指標(biāo)。

spring.application.index=?

# 應(yīng)用程序名稱(chēng)。

spring.application.name=?

# 國(guó)際化(消息源自動(dòng)配置)

#

spring.messages.basename= messages

# 以逗號(hào)分隔的基礎(chǔ)名稱(chēng)列表,每個(gè)都在ResourceBundle約定之后。

# 加載的資源束文件緩存到期,以秒為單位。 設(shè)置為-1時(shí),軟件包將永久緩存。

spring.messages.cache-seconds= -1

# 消息編碼。

spring.messages.encoding= UTF-8

# 設(shè)置是否返回到系統(tǒng)區(qū)域設(shè)置,如果沒(méi)有找到特定語(yǔ)言環(huán)境的文件。

spring.messages.fallback-to-system-locale= true

# REDIS (Redis 配置)

# 連接工廠(chǎng)使用的數(shù)據(jù)庫(kù)索引。

spring.redis.database= 0

# Redis服務(wù)器主機(jī)。

spring.redis.host= localhost

# 登錄redis服務(wù)器的密碼。

spring.redis.password=?

# 給定時(shí)間池可以分配的最大連接數(shù)。 使用負(fù)值為無(wú)限制。

spring.redis.pool.max-active= 8

# 池中“空閑”連接的最大數(shù)量。 使用負(fù)值來(lái)表示無(wú)限數(shù)量的空閑連接。

spring.redis.pool.max-idle= 8

# 連接分配在池耗盡之前在拋出異常之前應(yīng)阻止的最大時(shí)間量(以毫秒為單位)。 使用負(fù)值無(wú)限期地阻止。

spring.redis.pool.max-wait= -1

# 定義池中維護(hù)的最小空閑連接數(shù)。 此設(shè)置只有在正值時(shí)才有效果。

spring.redis.pool.min-idle= 0

# redis服務(wù)器端口

spring.redis.port= 6379

# redis服務(wù)器名稱(chēng)

spring.redis.sentinel.master=

#?

spring.redis.sentinel.nodes=?

# 連接超時(shí)(毫秒)。

spring.redis.timeout= 0

# 管理員 (Spring應(yīng)用程序管理員JMX自動(dòng)配置)

# 開(kāi)啟應(yīng)用管理功能。

spring.application.admin.enabled= false

# JMX應(yīng)用程序名稱(chēng)MBean。

spring.application.admin.jmx-name= org.springframework.boot:type= Admin,name= SpringApplication

# 自動(dòng)配置

# 自動(dòng)配置類(lèi)排除。

spring.autoconfigure.exclude=?

# spring 核心配置

# 跳過(guò)搜索BeanInfo類(lèi)。

spring.beaninfo.ignore= true

# spring 緩存配置

# 由底層緩存管理器支持的要?jiǎng)?chuàng)建的緩存名稱(chēng)的逗號(hào)分隔列表。

spring.cache.cache-names=?

# 用于初始化EhCache的配置文件的位置。

spring.cache.ehcache.config=?

# 用于創(chuàng)建緩存的規(guī)范。 檢查CacheBuilderSpec有關(guān)規(guī)格格式的更多細(xì)節(jié)。

spring.cache.guava.spec=?

# 用于初始化Hazelcast的配置文件的位置。

spring.cache.hazelcast.config=?

# 用于初始化Infinispan的配置文件的位置。

spring.cache.infinispan.config=?

# 用于初始化緩存管理器的配置文件的位置。

spring.cache.jcache.config=?

# 用于檢索符合JSR-107的緩存管理器的CachingProvider實(shí)現(xiàn)的完全限定名稱(chēng)。 只有在類(lèi)路徑上有多個(gè)JSR-107實(shí)現(xiàn)可用時(shí)才需要。

spring.cache.jcache.provider=?

# 緩存類(lèi)型,默認(rèn)情況下根據(jù)環(huán)境自動(dòng)檢測(cè)。

spring.cache.type=?

# spring配置 (配置文件應(yīng)用偵聽(tīng)器)

# 配置文件位置。

spring.config.location=?

# 配置文件名。

spring.config.name= application

# hazelcast配置(Hazelcast是一個(gè)高度可擴(kuò)展的數(shù)據(jù)分發(fā)和集群平臺(tái),提供了高效的、可擴(kuò)展的分布式數(shù)據(jù)存儲(chǔ)、數(shù)據(jù)緩存.)

# 用于初始化Hazelcast的配置文件的位置。

spring.hazelcast.config=?

# JMX

# JMX域名。

spring.jmx.default-domain=?

# 將管理bean暴露給JMX域。

spring.jmx.enabled= true

# MBean服務(wù)器bean名稱(chēng)。

spring.jmx.server= mbeanServer

# Email (MailProperties)? 郵件屬性

# 默認(rèn)MimeMessage編碼。

spring.mail.default-encoding= UTF-8

# SMTP服務(wù)器主機(jī)。 例如`smtp.example.com`

spring.mail.host=?

# 會(huì)話(huà)JNDI名稱(chēng)。 設(shè)置時(shí),優(yōu)先于其他郵件設(shè)置。

spring.mail.jndi-name=?

# 登錄SMTP服務(wù)器的密碼。

spring.mail.password=?

# SMTP服務(wù)器端口。

spring.mail.port=?

# 其他JavaMail會(huì)話(huà)屬性。

spring.mail.properties.*=?

# SMTP服務(wù)器使用的協(xié)議。

spring.mail.protocol= smtp

# 測(cè)試郵件服務(wù)器在啟動(dòng)時(shí)可用。

spring.mail.test-connection= false

# 登錄SMTP服務(wù)器的用戶(hù)。

spring.mail.username=?

# 應(yīng)用設(shè)置(spring應(yīng)用)

# 用于在應(yīng)用程序運(yùn)行時(shí)顯示橫幅的模式。

spring.main.banner-mode= console

# 源(類(lèi)名,包名或XML資源位置)包含在ApplicationContext中。

spring.main.sources=?

# 在Web環(huán)境中運(yùn)行應(yīng)用程序(默認(rèn)情況下自動(dòng)檢測(cè))。

spring.main.web-environment=?

# 文件編碼(文件編碼應(yīng)用程序偵聽(tīng)器)

# 應(yīng)用程序使用的預(yù)期字符編碼。

spring.mandatory-file-encoding=?

# 輸出

# 配置ANSI輸出(可以是“detect”,“always”,“never”)-->“檢測(cè)”,“永遠(yuǎn)”,“從不”

spring.output.ansi.enabled= detect

# PID文件(應(yīng)用程序文件寫(xiě)入器)

# 如果使用ApplicationPidFileWriter但是無(wú)法寫(xiě)入PID文件,則失敗。

spring.pid.fail-on-write-error=?

# 要寫(xiě)入的PID文件的位置(如果使用ApplicationPidFileWriter)。

spring.pid.file=?

#? ?簡(jiǎn)介(profiles 這個(gè)單詞翻譯過(guò)來(lái)就是這樣... 沒(méi)用過(guò)這個(gè)屬性,有哪位大神用過(guò)請(qǐng)留言我改正,感謝。)

# 活動(dòng)配置文件的逗號(hào)分隔列表。

spring.profiles.active=?

# 無(wú)條件地激活指定的逗號(hào)分隔的配置文件。

spring.profiles.include=?

# SendGrid(SendGrid自動(dòng)配置)

# SendGrid帳號(hào)用戶(hù)名

spring.sendgrid.username=?

# SendGrid帳號(hào)密碼

spring.sendgrid.password=?

# SendGrid代理主機(jī)

spring.sendgrid.proxy.host=?

# SendGrid代理端口

spring.sendgrid.proxy.port=?


# ----------------------------------------

#? ?WEB屬性

# ----------------------------------------

# 文件上傳屬性

# 啟用對(duì)文件上傳的支持。

multipart.enabled= true

# 將文件寫(xiě)入磁盤(pán)后的閾值。 值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小。

multipart.file-size-threshold= 0

# 上傳文件的位置。

multipart.location=?

# 最大文件大小。 值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小。

multipart.max-file-size= 1Mb

# 最大請(qǐng)求大小。 值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小。

multipart.max-request-size= 10Mb

# 嵌入式服務(wù)器配置(服務(wù)器屬性)

# 服務(wù)器應(yīng)綁定到的網(wǎng)絡(luò)地址。

server.address=?

# 如果啟用響應(yīng)壓縮。

server.compression.enabled= false

# 從壓縮中排除的用戶(hù)代理列表。

server.compression.excluded-user-agents=?

# 應(yīng)該壓縮的MIME類(lèi)型的逗號(hào)分隔列表。 例如`text / html,text / css,application / json`

server.compression.mime-types=?

# 執(zhí)行壓縮所需的最小響應(yīng)大小。 例如2048

server.compression.min-response-size=?

# Servlet上下文初始化參數(shù)。 例如`server.context-parameters.a =? alpha`

server.context-parameters.*=?

# 應(yīng)用程序的上下文路徑。

server.context-path=?

# 顯示應(yīng)用程序的名稱(chēng)。

server.display-name= application

# 何時(shí)包含“stacktrace”屬性。

server.error.include-stacktrace= never

# 錯(cuò)誤控制器的路徑。

server.error.path= /error

# 啟動(dòng)瀏覽器中出現(xiàn)服務(wù)器錯(cuò)誤時(shí)顯示的默認(rèn)錯(cuò)誤頁(yè)面。

server.error.whitelabel.enabled= true

# JSP servlet的類(lèi)名。

server.jsp-servlet.class-name= org.apache.jasper.servlet.JspServlet

# Init參數(shù)用于配置JSP servlet

server.jsp-servlet.init-parameters.*=?

# JSP servlet是否被注冊(cè)

server.jsp-servlet.registered= true

# 服務(wù)器HTTP端口。

server.port= 8080

# 主調(diào)度程序servlet的路徑。

server.servlet-path= /

# 會(huì)話(huà)cookie的注釋。

server.session.cookie.comment=?

# 會(huì)話(huà)cookie的域。

server.session.cookie.domain=?

# “HttpOnly”標(biāo)志為會(huì)話(huà)cookie。

server.session.cookie.http-only=?

# 會(huì)話(huà)cookie的最大時(shí)長(zhǎng)(以秒為單位)。

server.session.cookie.max-age=?

# 會(huì)話(huà)cookie名稱(chēng)。

server.session.cookie.name=?

# 會(huì)話(huà)cookie的路徑。

server.session.cookie.path=?

# 會(huì)話(huà)cookie的“安全”標(biāo)志。

server.session.cookie.secure=?

# 重啟之間持續(xù)會(huì)話(huà)數(shù)據(jù)。

server.session.persistent= false

# 用于存儲(chǔ)會(huì)話(huà)數(shù)據(jù)的目錄。

server.session.store-dir=?

# 會(huì)話(huà)超時(shí)(秒)。

server.session.timeout=?

# 會(huì)話(huà)跟蹤模式(以下一個(gè)或多個(gè):“cookie”,“url”,“ssl”)。

server.session.tracking-modes=?

# 支持SSL密碼。

server.ssl.ciphers=?

# 客戶(hù)端認(rèn)證是否需要(“want”)或需要(“need”)。 需要信任存儲(chǔ)。

server.ssl.client-auth=


# ssl配置

server.ssl.enabled=?

server.ssl.key-alias=?

server.ssl.key-password=?

server.ssl.key-store=?

server.ssl.key-store-password=?

server.ssl.key-store-provider=?

server.ssl.key-store-type=?

server.ssl.protocol=?

server.ssl.trust-store=?

server.ssl.trust-store-password=?

server.ssl.trust-store-provider=?

server.ssl.trust-store-type=?

# 創(chuàng)建日志文件的目錄。 可以相對(duì)于tomcat base dir或absolute。

server.tomcat.accesslog.directory=?

# 啟用訪(fǎng)問(wèn)日志。

server.tomcat.accesslog.enabled= false

# 訪(fǎng)問(wèn)日志的格式化模式。

server.tomcat.accesslog.pattern= common

# 日志文件名前綴。

server.tomcat.accesslog.prefix= access_log

# 日志文件名后綴。

server.tomcat.accesslog.suffix= .log

# 在調(diào)用backgroundProcess方法之間延遲秒。

server.tomcat.background-processor-delay= 30

# Tomcat基本目錄。 如果未指定,將使用臨時(shí)目錄。

server.tomcat.basedir=?

# 正則表達(dá)式匹配可信IP地址。

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}

# HTTP消息頭的最大大?。ㄒ宰止?jié)為單位)。

server.tomcat.max-http-header-size= 0

# 最大工作線(xiàn)程數(shù)。

server.tomcat.max-threads= 0

# 用于覆蓋原始端口值的HTTP頭的名稱(chēng)。

server.tomcat.port-header= X-Forwarded-Port

# 頭文件,保存?zhèn)魅雲(yún)f(xié)議,通常命名為“X-Forwarded-Proto”。

server.tomcat.protocol-header=?

# 表示傳入請(qǐng)求使用SSL的協(xié)議頭的值。

server.tomcat.protocol-header-https-value= https

# 提取遠(yuǎn)程ip的HTTP頭的名稱(chēng)。 例如`X-FORWARDED-FOR`

server.tomcat.remote-ip-header=?

# 用于解碼URI的字符編碼。

server.tomcat.uri-encoding= UTF-8

# 訪(fǎng)問(wèn)日志目錄。

server.undertow.accesslog.dir=?

# 啟用訪(fǎng)問(wèn)日志。

server.undertow.accesslog.enabled= false

# 訪(fǎng)問(wèn)日志的格式化模式。

server.undertow.accesslog.pattern= common

# 每個(gè)緩沖區(qū)的大小字節(jié)數(shù)。

server.undertow.buffer-size=?

# 每個(gè)區(qū)域的緩沖區(qū)數(shù)。

server.undertow.buffers-per-region=?

# 在Java堆之外分配緩沖區(qū)。

server.undertow.direct-buffers=?

# 為工作者創(chuàng)建的I / O線(xiàn)程數(shù)。

server.undertow.io-threads=?

# 工作線(xiàn)程數(shù)。

server.undertow.worker-threads=?

# 如果X-Forwarded- *頭應(yīng)該應(yīng)用于HttpRequest。

server.use-forward-headers=?

# 自由標(biāo)記(自由標(biāo)記自動(dòng)配置)

# 設(shè)置是否允許HttpServletRequest屬性重寫(xiě)(隱藏)控制器生成的同名模型屬性。

spring.freemarker.allow-request-override= false

# 設(shè)置是否允許HttpSession屬性重寫(xiě)(隱藏)控制器生成的相同名稱(chēng)的模型屬性。

spring.freemarker.allow-session-override= false

# 啟用模板緩存。

spring.freemarker.cache= false

# 模板編碼。

spring.freemarker.charset= UTF-8

# 檢查模板位置是否存在。

spring.freemarker.check-template-location= true

# Content-Type值。

spring.freemarker.content-type= text/html

# 啟用此技術(shù)的MVC視圖分辨率。

spring.freemarker.enabled= true

# 設(shè)置在與模板合并之前是否應(yīng)將所有請(qǐng)求屬性添加到模型中。

spring.freemarker.expose-request-attributes= false

# 設(shè)置在與模板合并之前是否應(yīng)將所有HttpSession屬性添加到模型中。

spring.freemarker.expose-session-attributes= false

# 設(shè)置是否公開(kāi)一個(gè)RequestContext供Spring 的宏庫(kù)使用,名稱(chēng)為“springMacroRequestContext”。

spring.freemarker.expose-spring-macro-helpers= true

# 首選文件系統(tǒng)訪(fǎng)問(wèn)模板加載。 文件系統(tǒng)訪(fǎng)問(wèn)可以對(duì)模板更改進(jìn)行熱檢測(cè)。

spring.freemarker.prefer-file-system-access= true

# 前綴,在構(gòu)建URL時(shí)先查看名稱(chēng)。

spring.freemarker.prefix=?

# 所有視圖的RequestContext屬性的名稱(chēng)。

spring.freemarker.request-context-attribute=?

# 公開(kāi)的FreeMarker密鑰將被傳遞給FreeMarker的配置。

spring.freemarker.settings.*=?

# 后綴,在構(gòu)建URL時(shí)附加到查看名稱(chēng)。

spring.freemarker.suffix=?

# 逗號(hào)分隔的模板路徑列表。

spring.freemarker.template-loader-path= classpath:/templates/

# 可以解決的視圖名稱(chēng)的白名單。

spring.freemarker.view-names=?

# groovr模板(Groovy模板自動(dòng)配置)

# 設(shè)置是否允許HttpServletRequest屬性重寫(xiě)(隱藏)控制器生成的同名模型屬性。

spring.groovy.template.allow-request-override= false

# 設(shè)置是否允許HttpSession屬性重寫(xiě)(隱藏)控制器生成的相同名稱(chēng)的模型屬性。

spring.groovy.template.allow-session-override= false

# 啟用模板緩存。

spring.groovy.template.cache=?

# 模板編碼。

spring.groovy.template.charset= UTF-8

# 檢查模板位置是否存在。

spring.groovy.template.check-template-location= true

# 請(qǐng)參閱GroovyMarkupConfigurer

spring.groovy.template.configuration.*=?

# Content-Type值。

spring.groovy.template.content-type= test/html

# 啟用此技術(shù)的MVC視圖分辨率。

spring.groovy.template.enabled= true

# 設(shè)置在與模板合并之前是否應(yīng)將所有請(qǐng)求屬性添加到模型中。

spring.groovy.template.expose-request-attributes= false

# 設(shè)置在與模板合并之前是否應(yīng)將所有HttpSession屬性添加到模型中。

spring.groovy.template.expose-session-attributes= false

# 設(shè)置是否公開(kāi)一個(gè)RequestContext供Spring Spring的宏庫(kù)使用,名稱(chēng)為“springMacroRequestContext”。

spring.groovy.template.expose-spring-macro-helpers= true

# 前綴,在構(gòu)建URL時(shí)先查看名稱(chēng)。

spring.groovy.template.prefix=?

# 所有視圖的RequestContext屬性的名稱(chēng)。

spring.groovy.template.request-context-attribute=?

# 模板路徑。

spring.groovy.template.resource-loader-path= classpath:/templates/

# 后綴,在構(gòu)建URL時(shí)附加到查看名稱(chēng)。

spring.groovy.template.suffix= .tpl

# 可以解決的視圖名稱(chēng)的白名單。

spring.groovy.template.view-names=?

# spring Hateoas 配置

# 指定應(yīng)用程序/ hal + json響應(yīng)是否應(yīng)發(fā)送到接受application / json的請(qǐng)求。

spring.hateoas.use-hal-as-default-json-media-type= true

# HTTP 消息轉(zhuǎn)換

# 首選JSON映射程序用于HTTP消息轉(zhuǎn)換。 設(shè)置為“gson”強(qiáng)制使用Gson,當(dāng)它和Jackson都在類(lèi)路徑上時(shí)。

spring.http.converters.preferred-json-mapper= jackson

# HTTP 編碼(Http編碼屬性)

# HTTP請(qǐng)求和響應(yīng)的字符集。 如果未明確設(shè)置,則添加到“Content-Type”頭。

spring.http.encoding.charset= UTF-8

# 啟用http編碼支持。

spring.http.encoding.enabled= true

# 將編碼強(qiáng)制到HTTP請(qǐng)求和響應(yīng)上配置的字符集。

spring.http.encoding.force= true

# Jackson(解析json和序列化json) 配置

# 日期格式字符串或全限定日期格式類(lèi)名。 例如`yyyy-MM-dd HH:mm:ss`。

spring.jackson.date-format=?

# Jones開(kāi)/關(guān)功能,影響Java對(duì)象反序列化的方式。

spring.jackson.deserialization.*=?

# 關(guān)閉或者打開(kāi)Jackson 功能

spring.jackson.generator.*=?

# Joda日期時(shí)間格式字符串。 如果未配置,如果配置了格式字符串,則“日期格式”將用作后備。

spring.jackson.joda-date-time-format=?

# 用于格式化的區(qū)域設(shè)置。

spring.jackson.locale=?

# jackson通用開(kāi)/關(guān)功能。

spring.jackson.mapper.*=?

# Jackson 解析器的開(kāi)/關(guān)功能。

spring.jackson.parser.*=?

# Jackson的PropertyNamingStrategy的一個(gè)常量。 也可以是PropertyNamingStrategy子類(lèi)的完全限定類(lèi)名。

spring.jackson.property-naming-strategy=?

# Jones開(kāi)/關(guān)功能,影響Java對(duì)象序列化的方式。

spring.jackson.serialization.*=?

# 控制在序列化期間包含屬性。 配置了Jackson的JsonInclude.Include枚舉中的一個(gè)值。

spring.jackson.serialization-inclusion=?

# 格式化日期時(shí)使用的時(shí)區(qū)。 例如`America / Los_Angeles`

spring.jackson.time-zone=?

# Jersey 配置

# 作為應(yīng)用程序的基本URI的路徑。 如果指定,則覆蓋“@ApplicationPath”的值。

spring.jersey.application-path=?

# jersey過(guò)濾器鏈順序。

spring.jersey.filter.order= 0

#? init參數(shù)傳遞到Jersey通過(guò)servlet或過(guò)濾器。

spring.jersey.init.*=?

# jersey整合型。可以是“servlet”也可以是“filter”。

spring.jersey.type= servlet

# spring 視圖分解器 配置

# 啟用后退解析支持。

spring.mobile.devicedelegatingviewresolver.enable-fallback= false

# 啟用設(shè)備視圖解析器。

spring.mobile.devicedelegatingviewresolver.enabled= false

# 前綴,用于查看移動(dòng)設(shè)備的名稱(chēng)。

spring.mobile.devicedelegatingviewresolver.mobile-prefix= mobile/

# 后綴,附加到查看移動(dòng)設(shè)備的名稱(chēng)。

spring.mobile.devicedelegatingviewresolver.mobile-suffix=?

# 前綴,用于查看普通設(shè)備的名稱(chēng)。

spring.mobile.devicedelegatingviewresolver.normal-prefix=?

# 后綴,附加到查看普通設(shè)備的名稱(chēng)。

spring.mobile.devicedelegatingviewresolver.normal-suffix=?

# 前綴,用于查看平板設(shè)備的名稱(chēng)。

spring.mobile.devicedelegatingviewresolver.tablet-prefix= tablet/

# 后綴,附加到查看平板電腦設(shè)備的名稱(chēng)。

spring.mobile.devicedelegatingviewresolver.tablet-suffix=?

# 移動(dòng)網(wǎng)站首選項(xiàng) (站點(diǎn)首選項(xiàng)自動(dòng)配置)

# 啟用SitePreferenceHandler。

spring.mobile.sitepreference.enabled= true

# MUSTACHE模板(Mustache AutoConfiguration)

# 啟用模板緩存。

spring.mustache.cache= false

# 模板編碼。

spring.mustache.charset= UTF-8

# 檢查模板位置是否存在。

spring.mustache.check-template-location= true

# Content-Type值

spring.mustache.content-type= text/html

# 啟用此技術(shù)的MVC視圖分辨率。

spring.mustache.enabled= true

# 前綴應(yīng)用于模板名稱(chēng)。

spring.mustache.prefix= classpath:/templates/

# 后綴應(yīng)用于模板名稱(chēng)。

spring.mustache.suffix= .html

# 可以解決的視圖名稱(chēng)的白名單。

spring.mustache.view-names=?

# SPRING MVC (Web Mvc 配置)

# 異步請(qǐng)求處理超時(shí)之前的時(shí)間量(以毫秒為單位)。

spring.mvc.async.request-timeout=?

# 要使用的日期格式。 例如`dd / MM / yyyy`。

spring.mvc.date-format=?

# 發(fā)送TRACE請(qǐng)求到FrameworkServlet doService方法。

spring.mvc.dispatch-trace-request= false

# 發(fā)送OPTIONS請(qǐng)求到FrameworkServlet doService方法。

spring.mvc.dispatch-options-request= false

# 啟用favicon.ico的解析。

spring.mvc.favicon.enabled= true

# 如果在重定向方案期間應(yīng)該忽略“默認(rèn)”模型的內(nèi)容。

spring.mvc.ignore-default-model-on-redirect= true

# 要使用的區(qū)域設(shè)置。

spring.mvc.locale=?

# 將文件擴(kuò)展名映射到內(nèi)容協(xié)商的媒體類(lèi)型。

spring.mvc.media-types.*=?

# 消息代碼格式策略。 例如`PREFIX_ERROR_CODE`。

spring.mvc.message-codes-resolver-format=?

# 用于靜態(tài)資源的路徑模式。

spring.mvc.static-path-pattern= /**

# 如果沒(méi)有發(fā)現(xiàn)處理程序來(lái)處理請(qǐng)求,則應(yīng)拋出“NoHandlerFoundException”。

spring.mvc.throw-exception-if-no-handler-found= false

# Spring MVC視圖前綴。

spring.mvc.view.prefix=?

# Spring MVC視圖后綴。

spring.mvc.view.suffix=?

?#SPRING RESOURCES HANDLING(ResourceProperties)資源處理

spring.resources.add-mappings = true #啟用默認(rèn)資源處理。

spring.resources.cache-period = #由資源處理程序提供的資源的緩存期,以秒為單位。

spring.resources.chain.cache = true #在資源鏈中啟用緩存。

spring.resources.chain.enabled = #啟用Spring資源處理鏈。默認(rèn)情況下禁用,除非啟用了至少一個(gè)策略。

spring.resources.chain.html-application-cache = false #啟用HTML5應(yīng)用程序緩存清單重寫(xiě)。

spring.resources.chain.strategy.content.enabled = false #啟用內(nèi)容版本策略。

spring.resources.chain.strategy.content.paths = / ** #應(yīng)用于版本策略的模式的逗號(hào)分隔列表。

spring.resources.chain.strategy.fixed.enabled = false #啟用固定版本策略。

spring.resources.chain.strategy.fixed.paths = #應(yīng)用于版本策略的逗號(hào)分隔的模式列表。

spring.resources.chain.strategy.fixed.version = #用于版本策略的版本字符串。

spring.resources.static-locations

= classpath:/ META-INF / resources /,classpath:/ resources

/,classpath:/ static /,classpath:/ public / #靜態(tài)資源的位置。

?#SPRING SOCIAL(SocialWebAutoConfiguration)集群

spring.social.auto-connection-views = false #啟用支持的提供程序的連接狀態(tài)視圖。

?#SPRING SOCIAL FACEBOOK(FacebookAutoConfiguration)

spring.social.facebook.app-id = #您的應(yīng)用程序的Facebook應(yīng)用程序ID

spring.social.facebook.app-secret = #你的應(yīng)用程序的Facebook應(yīng)用程序密碼

?#SPRING SOCIAL LINKEDIN(LinkedInAutoConfiguration)

spring.social.linkedin.app-id = #您的應(yīng)用程序的LinkedIn應(yīng)用程序ID

spring.social.linkedin.app-secret = #您的應(yīng)用程序的LinkedIn App Secret

?#SPRING SOCIAL TWITTER(TwitterAutoConfiguration)

spring.social.twitter.app-id = #你的應(yīng)用程序的Twitter應(yīng)用程序ID

spring.social.twitter.app-secret = #你的應(yīng)用程序的Twitter App Secret

?#THYMELEAF Thymeleaf模板引擎配置

spring.thymeleaf.cache = true #啟用模板緩存。

spring.thymeleaf.check-template-location = true #檢查模板位置是否存在。

spring.thymeleaf.content-type = text / html #Content-Type值。

spring.thymeleaf.enabled = true #啟用MVC Thymeleaf視圖分辨率。

spring.thymeleaf.encoding = UTF-8 #模板編碼。

spring.thymeleaf.excluded-view-names = #應(yīng)該從解決方案中排除的視圖名稱(chēng)的逗號(hào)分隔列表。

spring.thymeleaf.mode = HTML5 #應(yīng)用于模板的模板模式。另請(qǐng)參見(jiàn)StandardTemplateModeHandlers。

spring.thymeleaf.prefix = classpath:/ templates / #在構(gòu)建URL時(shí)預(yù)先查看名稱(chēng)的前綴。

spring.thymeleaf.suffix = .html #構(gòu)建URL時(shí)附加查看名稱(chēng)的后綴。

spring.thymeleaf.template-resolver-order = #鏈中模板解析器的順序。

spring.thymeleaf.view-names = #可以解析的視圖名稱(chēng)的逗號(hào)分隔列表。

?#VELOCITY TEMPLATES(VelocityAutoConfiguration)

spring.velocity.allow-request-override = false #設(shè)置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名的模型屬性。

spring.velocity.allow-session-override = false #設(shè)置是否允許HttpSession屬性重寫(xiě)(隱藏)控制器生成的同名的模型屬性。

spring.velocity.cache = #啟用模板緩存。

spring.velocity.charset = UTF-8 #模板編碼。

spring.velocity.check-template-location = true #檢查模板位置是否存在。

spring.velocity.content-type = text / html #Content-Type值。

spring.velocity.date-tool-attribute = #在視圖的Velocity上下文中公開(kāi)的DateTool輔助對(duì)象的名稱(chēng)。

spring.velocity.enabled = true #啟用此技術(shù)的MVC視圖分辨率。

spring.velocity.expose-request-attributes = false #設(shè)置在與模板合并之前是否應(yīng)將所有請(qǐng)求屬性添加到模型中。

spring.velocity.expose-session-attributes = false #設(shè)置在與模板合并之前是否應(yīng)將所有HttpSession屬性添加到模型中。

spring.velocity.expose-spring-macro-helpers = true #設(shè)置是否公開(kāi)一個(gè)RequestContext供Spring Spring的宏庫(kù)使用,名稱(chēng)為“springMacroRequestContext”。

spring.velocity.number-tool-attribute = #在視圖的Velocity上下文中公開(kāi)的NumberTool幫助對(duì)象的名稱(chēng)。

spring.velocity.prefer-file-system-access = true #首選文件系統(tǒng)訪(fǎng)問(wèn)模板加載。文件系統(tǒng)訪(fǎng)問(wèn)可以對(duì)模板更改進(jìn)行熱檢測(cè)。

spring.velocity.prefix = #前綴,用于在構(gòu)建URL時(shí)查看名稱(chēng)。

spring.velocity.properties。* = #附加速度屬性。

spring.velocity.request-context-attribute = #所有視圖的RequestContext屬性的名稱(chēng)。

spring.velocity.resource-loader-path = classpath:/ templates / #模板路徑。

spring.velocity.suffix = .vm #構(gòu)建URL時(shí)附加到查看名稱(chēng)的后綴。

spring.velocity.toolbox-config-location = #Velocity Toolbox配置位置。例如`/ WEB-INF / toolbox.xml'

spring.velocity.view-names = #可以解決的視圖名稱(chēng)的白名單。

?#----------------------------------------

?#安全屬性

?#----------------------------------------

?#SECURITY(SecurityProperties)

security.basic.authorize-mode = role #應(yīng)用安全授權(quán)模式。

security.basic.enabled = true #啟用基本身份驗(yàn)證。

security.basic.path = / ** #安全路徑的逗號(hào)分隔列表。

security.basic.realm = Spring #HTTP基本的領(lǐng)域名稱(chēng)。

security.enable-csrf = false #啟用跨站點(diǎn)請(qǐng)求偽造支持。

security.filter-order = 0 #安全過(guò)濾器連鎖訂單。

security.headers.cache = true #啟用緩存控制HTTP頭。

security.headers.content-type = true# 啟用“X-Content-Type-Options”頭。

security.headers.frame = true #啟用“X-Frame-Options”標(biāo)題。

security.headers.hsts = # HTTP嚴(yán)格傳輸安全(HSTS)模式(無(wú),域,全部)。

security.headers.xss = true #啟用跨站點(diǎn)腳本(XSS)保護(hù)。

security.ignored = #從默認(rèn)安全路徑中排除的路徑的逗號(hào)分隔列表。

security.require-ssl = false #為所有請(qǐng)求啟用安全通道。

security.sessions = stateless #會(huì)話(huà)創(chuàng)建策略(永遠(yuǎn)不會(huì),if_required,無(wú)狀態(tài))。

security.user.name = user #默認(rèn)用戶(hù)名。

security.user.password = #默認(rèn)用戶(hù)名的密碼。默認(rèn)情況下,啟動(dòng)時(shí)會(huì)記錄隨機(jī)密碼。

security.user.role = USER #為默認(rèn)用戶(hù)名授予角色。

?#SECURITY OAUTH2 CLIENT(OAuth2ClientProperties

security.oauth2.client.client-id = #OAuth2客戶(hù)端ID。

security.oauth2.client.client-secret = #OAuth2客戶(hù)機(jī)密碼。默認(rèn)生成隨機(jī)密碼

?#SECURITY OAUTH2 RESOURCES(ResourceServerProperties

security.oauth2.resource.id = #資源的標(biāo)識(shí)符。

security.oauth2.resource.jwt.key-uri = #JWT令牌的URI。如果值不可用并且密鑰是公共的,可以設(shè)置。

security.oauth2.resource.jwt.key-value = #JWT令牌的驗(yàn)證密鑰??梢允菍?duì)稱(chēng)秘密或PEM編碼的RSA公鑰。

security.oauth2.resource.prefer-token-info = true #使用令牌信息,可以設(shè)置為false以使用用戶(hù)信息。

security.oauth2.resource.service-id = resource #

security.oauth2.resource.token-info-uri = #令牌解碼端點(diǎn)的URI。

security.oauth2.resource.token-type = #使用userInfoUri時(shí)發(fā)送的令牌類(lèi)型。

security.oauth2.resource.user-info-uri = #用戶(hù)端點(diǎn)的URI。

?#SECURITY OAUTH2 SSO(OAuth2SsoProperties

security.oauth2.sso.filter-order = #如果不提供顯式的WebSecurityConfigurerAdapter,則應(yīng)用過(guò)濾器順序

security.oauth2.sso.login-path = / login #登錄頁(yè)面的路徑,即觸發(fā)重定向到OAuth2授權(quán)服務(wù)器的路徑

# ----------------------------------------

# DATA PROPERTIES 數(shù)據(jù)性能

# ----------------------------------------

# FLYWAY (FlywayProperties)

flyway.baseline-description = #

flyway.baseline-version = 1 #版本開(kāi)始遷移

flyway.baseline-on-migrate = #

flyway.check-location = false #檢查遷移腳本位置是否存在。

flyway.clean-on-validation-error = #

flyway.enabled = true #啟用飛行路線(xiàn)。

flyway.encoding = #

flyway.ignore-failed-future-migration = #

flyway.init-sqls = #執(zhí)行SQL語(yǔ)句,以便在獲取連接后立即初始化連接。

flyway.locations = classpath:db / migration #遷移腳本的位置

flyway.out-of-order = #如果您希望Flyway創(chuàng)建自己的DataSource,則需要使用#path密碼

flyway.placeholder-prefix = #

flyway.placeholder-replacement = #

flyway.placeholder-suffix = #

flyway.placeholders。* = #

flyway.schemas = #schemas來(lái)更新

flyway.sql-migration-prefix = V #

flyway.sql-migration-separator = #

flyway.sql-migration-suffix = .sql #

flyway.table = #

flyway.url = #要遷移的數(shù)據(jù)庫(kù)的JDBC url。如果未設(shè)置,則使用主配置的數(shù)據(jù)源。

flyway.user = #登錄要遷移的數(shù)據(jù)庫(kù)的用戶(hù)。

flyway.validate-on-migrate = #

# LIQUIBASE (LiquibaseProperties)

liquibase.change-log = classpath:/db/changelog/db.changelog-master.yaml #更改日志配置路徑。

liquibase.check-change-log-location = true #檢查更改日志位置是否存在。

liquibase.contexts = #使用逗號(hào)分隔的運(yùn)行時(shí)上下文列表。

liquibase.default-schema = #默認(rèn)數(shù)據(jù)庫(kù)模式。

liquibase.drop-first = false #首先刪除數(shù)據(jù)庫(kù)模式。

liquibase.enabled = true #啟用liquidibase支持。

liquibase.labels = #使用逗號(hào)分隔的運(yùn)行時(shí)標(biāo)簽列表。

liquibase.parameters。* = #更改日志參數(shù)。

liquibase.password = #登錄要遷移的數(shù)據(jù)庫(kù)的密碼。

liquibase.url = #要遷移的數(shù)據(jù)庫(kù)的JDBC url。 如果未設(shè)置,則使用主配置的數(shù)據(jù)源。

liquibase.user = #登錄要遷移的數(shù)據(jù)庫(kù)的用戶(hù)。

# DAO (PersistenceExceptionTranslationAutoConfiguration)

spring.dao.exceptiontranslation.enabled= true # 啟用持久異常翻譯后處理器。

# CASSANDRA (CassandraProperties)

spring.data.cassandra.cluster-name = #Cassandra群集的名稱(chēng)。

spring.data.cassandra.compression = #由Cassandra二進(jìn)制協(xié)議支持的壓縮。

spring.data.cassandra.connect-timeout-millis = #套接字選項(xiàng):連接超時(shí)。

spring.data.cassandra.consistency-level = #查詢(xún)一致性級(jí)別。

spring.data.cassandra.contact-points = localhost #集群節(jié)點(diǎn)地址的逗號(hào)分隔列表。

spring.data.cassandra.fetch-size = #查詢(xún)默認(rèn)的抓取大小。

spring.data.cassandra.keyspace-name = #要使用的密鑰空間名稱(chēng)。

spring.data.cassandra.load-balancing-policy = #負(fù)載均衡策略的類(lèi)名。

spring.data.cassandra.port = #Cassandra服務(wù)器端口。

spring.data.cassandra.password = #登錄服務(wù)器的密碼。

spring.data.cassandra.read-timeout-millis = #套接字選項(xiàng):讀取超時(shí)。

spring.data.cassandra.reconnection-policy = #重新連接策略類(lèi)。

spring.data.cassandra.retry-policy = #重試策略的類(lèi)名。

spring.data.cassandra.serial-consistency-level = #查詢(xún)串行一致性級(jí)別。

spring.data.cassandra.ssl = false #啟用SSL支持。

spring.data.cassandra.username = #登錄用戶(hù)的服務(wù)器。

# ELASTICSEARCH (ElasticsearchProperties)

spring.data.elasticsearch.cluster-name = elasticsearch #彈性搜索集群名稱(chēng)。

spring.data.elasticsearch.cluster-nodes = #集群節(jié)點(diǎn)地址的逗號(hào)分隔列表。 如果未指定,則啟動(dòng)客戶(hù)端節(jié)點(diǎn)。

spring.data.elasticsearch.properties。* = #用于配置客戶(hù)端的其他屬性。

spring.data.elasticsearch.repositories.enabled = true #啟用Elasticsearch存儲(chǔ)庫(kù)。

# MONGODB (MongoProperties)

spring.data.mongodb.authentication-database = #驗(yàn)證數(shù)據(jù)庫(kù)名稱(chēng)。

spring.data.mongodb.database = test #數(shù)據(jù)庫(kù)名稱(chēng)。

spring.data.mongodb.field-naming-strategy = #要使用的FieldNamingStrategy的完全限定名稱(chēng)。

spring.data.mongodb.grid-fs-database = #GridFS數(shù)據(jù)庫(kù)名稱(chēng)。

spring.data.mongodb.host = localhost #Mongo服務(wù)器主機(jī)。

spring.data.mongodb.password = #登錄mongo服務(wù)器的密碼。

spring.data.mongodb.port = 27017 #Mongo服務(wù)器端口。

spring.data.mongodb.repositories.enabled = true #啟用Mongo存儲(chǔ)庫(kù)。

spring.data.mongodb.uri = mongodb:// localhost / test #Mongo數(shù)據(jù)庫(kù)URI。 設(shè)置時(shí),主機(jī)和端口將被忽略。

spring.data.mongodb.username = #登錄mongo服務(wù)器的用戶(hù)。

# DATA REST (RepositoryRestProperties)

spring.data.rest.base-path = #由Spring Data REST用于公開(kāi)存儲(chǔ)庫(kù)資源的基本路徑。

spring.data.rest.default-page-size = #頁(yè)面的默認(rèn)大小。

spring.data.rest.enable-enum-translation = #通過(guò)Spring Data REST默認(rèn)資源包啟用枚舉值轉(zhuǎn)換。

spring.data.rest.limit-param-name = #指示一次返回多少結(jié)果的URL查詢(xún)字符串參數(shù)的名稱(chēng)。

spring.data.rest.max-page-size = #最大頁(yè)面大小。

spring.data.rest.page-param-name = #指示要返回的頁(yè)面的URL查詢(xún)字符串參數(shù)的名稱(chēng)。

spring.data.rest.return-body-on-create = #創(chuàng)建一個(gè)實(shí)體后返回響應(yīng)體。

spring.data.rest.return-body-on-update = #更新實(shí)體后返回響應(yīng)體。

spring.data.rest.sort-param-name = #指示排序結(jié)果的方向的URL查詢(xún)字符串參數(shù)的名稱(chēng)。

# SOLR (SolrProperties)

spring.data.solr.host = http://127.0.0.1:8983/solr #Solr主機(jī)。 如果設(shè)置了“zk-host”,則被忽略。

spring.data.solr.repositories.enabled = true #啟用Solr存儲(chǔ)庫(kù)。

spring.data.solr.zk-host = #ZooKeeper主機(jī)地址,格式為HOST:PORT。

# 數(shù)據(jù)源 配置 (DataSourceAutoConfiguration & DataSourceProperties)

spring.datasource.continue-on-error = false #初始化數(shù)據(jù)庫(kù)時(shí)發(fā)生錯(cuò)誤時(shí)不要停止。

spring.datasource.data = #Data(DML)腳本資源引用。

spring.datasource.driver-class-name = #JDBC驅(qū)動(dòng)程序的完全限定名稱(chēng)。默認(rèn)情況下,根據(jù)URL自動(dòng)檢測(cè)。

spring.datasource.initialize = true #使用'data.sql'填充數(shù)據(jù)庫(kù)。

spring.datasource.jmx-enabled = false #啟用JMX支持(如果由底層池提供)。

spring.datasource.jndi-name = #數(shù)據(jù)源的JNDI位置。設(shè)置時(shí),類(lèi),網(wǎng)址,用戶(hù)名和密碼將被忽略。

spring.datasource.max-active = #例如100

spring.datasource.max-idle = #例如8

spring.datasource.max等待=

spring.datasource.min-evictable空閑時(shí)間-米利斯=

spring.datasource.min-idle = 8

spring.datasource.name = testdb #數(shù)據(jù)源的名稱(chēng)。

spring.datasource.password = #登錄數(shù)據(jù)庫(kù)的密碼。

spring.datasource.platform = all #在資源模式(schema - $ {platform} .sql)中使用的平臺(tái)。

spring.datasource.schema = #Schema(DDL)腳本資源引用。

spring.datasource.separator =;? #語(yǔ)句分隔符在SQL初始化腳本中。

spring.datasource.sql-script-encoding = #SQL腳本編碼。

spring.datasource.test-on-borrow = #例如`false`

spring.datasource.test-on-return = #例如`false`

spring.datasource.test-while-idle = #

spring.datasource.time-between-eviction-runs-millis = 1

spring.datasource.type = #要使用的連接池實(shí)現(xiàn)的完全限定名稱(chēng)。默認(rèn)情況下,它是從類(lèi)路徑自動(dòng)檢測(cè)的。

spring.datasource.url = #數(shù)據(jù)庫(kù)的JDBC url。

spring.datasource.username=?

spring.datasource.validation-query=?

# H2 Web Console (H2ConsoleProperties)??

spring.h2.console.enabled = false #啟用控制臺(tái)。

spring.h2.console.path = / h2-console #控制臺(tái)可用的路徑。

# JOOQ (JooqAutoConfiguration)

spring.jooq.sql-dialect=? # 與配置的數(shù)據(jù)源通信時(shí)使用的SQLDialect JOOQ。 例如`POSTGRES`

# JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration)

spring.data.jpa.repositories.enabled = true #啟用JPA存儲(chǔ)庫(kù)。

spring.jpa.database = #目標(biāo)數(shù)據(jù)庫(kù)進(jìn)行操作,默認(rèn)情況下自動(dòng)檢測(cè)??梢允褂谩癲atabasePlatform”屬性設(shè)置。

spring.jpa.database-platform = #要運(yùn)行的目標(biāo)數(shù)據(jù)庫(kù)的名稱(chēng),默認(rèn)情況下自動(dòng)檢測(cè)。可以使用“數(shù)據(jù)庫(kù)”枚舉來(lái)設(shè)置。

spring.jpa.generate-ddl = false #啟動(dòng)時(shí)初始化模式。

spring.jpa.hibernate.ddl-auto = #DDL模式。這實(shí)際上是“hibernate.hbm2ddl.auto”屬性的快捷方式。使用嵌入式數(shù)據(jù)庫(kù)時(shí)默認(rèn)為“創(chuàng)建刪除”,否則為“否”。

spring.jpa.hibernate.naming-strategy = #命名策略完全限定名。

spring.jpa.open-in-view = true #注冊(cè)O(shè)penEntityManagerInViewInterceptor。將JPA EntityManager綁定到線(xiàn)程以進(jìn)行請(qǐng)求的整個(gè)處理。

spring.jpa.properties。* = #在JPA提供程序上設(shè)置的其他本機(jī)屬性。

spring.jpa.show-sql = false #啟用SQL語(yǔ)句的日志記錄。

# JTA (JtaAutoConfiguration)

spring.jta。* = #技術(shù)特定配置

spring.jta.log-dir = #Transaction logs目錄。

# ATOMIKOS

spring.jta.atomikos.connectionfactory.borrow-connection-timeout = 30 #從池中借用連接的超時(shí)(以秒為單位)。

spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag = true #創(chuàng)建會(huì)話(huà)時(shí)是否忽略事務(wù)標(biāo)志。

spring.jta.atomikos.connectionfactory.local-transaction-mode = false #是否需要本地事務(wù)。

spring.jta.atomikos.connectionfactory.maintenance-interval = 60 #池的維護(hù)線(xiàn)程運(yùn)行之間的時(shí)間(以秒為單位)。

spring.jta.atomikos.connectionfactory.max-idle-time = 60 #從池中清除連接之后的時(shí)間(以秒為單位)。

spring.jta.atomikos.connectionfactory.max-lifetime = 0 #在被破壞之前可以將連接合并的時(shí)間(以秒為單位)。 0表示無(wú)限制。

spring.jta.atomikos.connectionfactory.max-pool-size = 1 #池的最大大小。

spring.jta.atomikos.connectionfactory.min-pool-size = 1 #池的最小大小。

spring.jta.atomikos.connectionfactory.reap-timeout = 0 #借用連接的收獲超時(shí)(以秒為單位)。 0表示無(wú)限制。

spring.jta.atomikos.connectionfactory.unique-resource-name = jmsConnectionFactory #用于在恢復(fù)期間標(biāo)識(shí)資源的唯一名稱(chēng)。

spring.jta.atomikos.datasource.borrow-connection-timeout = 30 #從池中借出連接的超時(shí)(秒)。

spring.jta.atomikos.datasource.default-isolation-level = #池提供的連接的默認(rèn)隔離級(jí)別。

spring.jta.atomikos.datasource.login-timeout = #用于建立數(shù)據(jù)庫(kù)連接的超時(shí)(以秒為單位)。

spring.jta.atomikos.datasource.maintenance-interval = 60 #池的維護(hù)線(xiàn)程運(yùn)行之間的時(shí)間(以秒為單位)。

spring.jta.atomikos.datasource.max-idle-time = 60 #從池中清除連接之后的時(shí)間(以秒為單位)。

spring.jta.atomikos.datasource.max-lifetime = 0 #在被破壞之前可以將連接合并的時(shí)間(以秒為單位)。 0表示無(wú)限制。

spring.jta.atomikos.datasource.max-pool-size = 1 #池的最大大小。

spring.jta.atomikos.datasource.min-pool-size = 1 #池的最小大小。

spring.jta.atomikos.datasource.reap-timeout = 0 #借用連接的收獲超時(shí)(以秒為單位)。 0表示無(wú)限制。

spring.jta.atomikos.datasource.test-query = #用于在返回連接之前驗(yàn)證連接的SQL查詢(xún)或語(yǔ)句。

spring.jta.atomikos.datasource.unique-resource-name = dataSource #用于在恢復(fù)期間識(shí)別資源的唯一名稱(chēng)。

# BITRONIX

spring.jta.bitronix.connectionfactory.acquire-increment = 1 #生成池時(shí)要?jiǎng)?chuàng)建的連接數(shù)。

spring.jta.bitronix.connectionfactory.acquisition-interval = 1 #在獲取無(wú)效連接后再次嘗試獲取連接之前等待的時(shí)間(以秒為單位)。

spring.jta.bitronix.connectionfactory.acquisition-timeout = 30 #從池中獲取連接的超時(shí)(以秒為單位)。

spring.jta.bitronix.connectionfactory.allow-local-transactions = true #事務(wù)管理器是否允許混合XA和非XA事務(wù)。

spring.jta.bitronix.connectionfactory.apply-transaction-timeout = false #當(dāng)XAResource被登記時(shí),是否應(yīng)該設(shè)置事務(wù)超時(shí)。

spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled = true #資源是否應(yīng)該被自動(dòng)登記和刪除。

spring.jta.bitronix.connectionfactory.cache-producer-consumer = true #是否生產(chǎn)和消費(fèi)者應(yīng)該被緩存。

spring.jta.bitronix.connectionfactory.defer-connection-release = true #提供程序是否可以在同一連接上運(yùn)行許多事務(wù),并支持事務(wù)交織。

spring.jta.bitronix.connectionfactory.ignore-recovery-failures = false #是否應(yīng)忽略恢復(fù)失敗。

spring.jta.bitronix.connectionfactory.max-idle-time = 60 #從池中清除連接之后的時(shí)間(以秒為單位)。

spring.jta.bitronix.connectionfactory.max-pool-size = 10 #池的最大大小。 0表示無(wú)限制。

spring.jta.bitronix.connectionfactory.min-pool-size = 0 #池的最小大小。

spring.jta.bitronix.connectionfactory.password = #用于連接到JMS提供程序的密碼。

spring.jta.bitronix.connectionfactory.share-transaction-connections = false #ACCESSIBLE狀態(tài)中的連接是否可以在事務(wù)的上下文中共享。

spring.jta.bitronix.connectionfactory.test-connections = true #從池中獲取連接是否應(yīng)該進(jìn)行測(cè)試。

spring.jta.bitronix.connectionfactory.two-pc-ordering-position

= 1 #在兩階段提交期間該資源應(yīng)該采取的位置(始終為Integer.MIN_VALUE,始終為Integer.MAX_VALUE)。

spring.jta.bitronix.connectionfactory.unique-name = jmsConnectionFactory #用于在恢復(fù)期間標(biāo)識(shí)資源的唯一名稱(chēng)。

spring.jta.bitronix.connectionfactory.use-tm-join = true啟動(dòng)XAResource時(shí)是否應(yīng)使用TMJOIN。

spring.jta.bitronix.connectionfactory.user = #用于連接到JMS提供者的用戶(hù)。

spring.jta.bitronix.datasource.acquire-increment = 1 #生成池時(shí)要?jiǎng)?chuàng)建的連接數(shù)。

spring.jta.bitronix.datasource.acquisition-interval = 1 #在獲取無(wú)效連接后再?lài)L試獲取連接之前等待的時(shí)間(以秒為單位)。

spring.jta.bitronix.datasource.acquisition-timeout = 30 #從池中獲取連接的超時(shí)(以秒為單位)。

spring.jta.bitronix.datasource.allow-local-transactions = true #事務(wù)管理器是否允許混合XA和非XA事務(wù)。

spring.jta.bitronix.datasource.apply-transaction-timeout = false #當(dāng)XAResource被登記時(shí),是否應(yīng)該設(shè)置事務(wù)超時(shí)。

spring.jta.bitronix.datasource.automatic-enlisting-enabled = true #資源是否應(yīng)該被登記和自動(dòng)刪除。

spring.jta.bitronix.datasource.cursor-holdability = #連接的默認(rèn)游標(biāo)保持性。

spring.jta.bitronix.datasource.defer-connection-release = true #數(shù)據(jù)庫(kù)是否可以在同一連接上運(yùn)行許多事務(wù),并支持事務(wù)交織。

spring.jta.bitronix.datasource.enable-jdbc4-connection-test = #從池中獲取連接時(shí)是否調(diào)用Connection.isValid()。

spring.jta.bitronix.datasource.ignore-recovery-failures = false #是否應(yīng)忽略恢復(fù)失敗。

spring.jta.bitronix.datasource.isolation-level = #連接的默認(rèn)隔離級(jí)別。

spring.jta.bitronix.datasource.local-auto-commit = #本地事務(wù)的默認(rèn)自動(dòng)提交模式。

spring.jta.bitronix.datasource.login-timeout = #用于建立數(shù)據(jù)庫(kù)連接的超時(shí)(以秒為單位)。

spring.jta.bitronix.datasource.max-idle-time = 60 #從池中清除連接之后的時(shí)間(以秒為單位)。

spring.jta.bitronix.datasource.max-pool-size = 10 #池的最大大小。 0表示無(wú)限制。

spring.jta.bitronix.datasource.min-pool-size = 0 #池的最小大小。

spring.jta.bitronix.datasource.prepared-statement-cache-size = 0 #準(zhǔn)備好的語(yǔ)句高速緩存的目標(biāo)大小。 0禁用緩存。

spring.jta.bitronix.datasource.share-transaction-connections = false #ACCESSIBLE狀態(tài)下的連接是否可以在事務(wù)的上下文中共享。

spring.jta.bitronix.datasource.test-query = #用于在返回連接之前驗(yàn)證連接的SQL查詢(xún)或語(yǔ)句。

spring.jta.bitronix.datasource.two-pc-ordering-position = 1 #在兩階段提交期間該資源應(yīng)該采取的位置(始終為Integer.MIN_VALUE,始終為Integer.MAX_VALUE)。

spring.jta.bitronix.datasource.unique-name = dataSource #用于在恢復(fù)期間標(biāo)識(shí)資源的唯一名稱(chēng)。

spring.jta.bitronix.datasource.use-tm-join = true啟動(dòng)XAResource時(shí)是否應(yīng)使用TMJOIN。

# EMBEDDED MONGODB (EmbeddedMongoProperties)

spring.mongodb.embedded.features = SYNC_DELAY #啟用功能的逗號(hào)分隔列表。

spring.mongodb.embedded.version = 2.6.10 #Mongo使用版本。

# ----------------------------------------

# 整合屬性

# ----------------------------------------

?#ACTIVEMQ(ActiveMQProperties)

spring.activemq.broker-url = #ActiveMQ代理的URL。 默認(rèn)自動(dòng)生成。 例如`tcp:// localhost:61616`

spring.activemq.in-memory = true #指定默認(rèn)代理URL是否應(yīng)在內(nèi)存中。 如果指定了一個(gè)顯式代理,則被忽略。

spring.activemq.password = #登錄密碼的代理。

spring.activemq.pooled = false #指定是否創(chuàng)建PooledConnectionFactory而不是常規(guī)的ConnectionFactory。

spring.activemq.user = #代理登錄用戶(hù)。

# ARTEMIS (ArtemisProperties)

spring.artemis.embedded.cluster-password = #群集密碼。 默認(rèn)情況下隨機(jī)生成。

spring.artemis.embedded.data-directory = #日志文件目錄。 如果持久性被關(guān)閉,則不需要。

spring.artemis.embedded.enabled = true #如果Artemis服務(wù)器API可用,啟用嵌入式模式。

spring.artemis.embedded.persistent = false #啟用持久存儲(chǔ)。

spring.artemis.embedded.queues = #啟動(dòng)時(shí)要?jiǎng)?chuàng)建的隊(duì)列的逗號(hào)分隔列表。

spring.artemis.embedded.server-id = #服務(wù)器ID。 默認(rèn)情況下,使用自動(dòng)遞增的計(jì)數(shù)器。

spring.artemis.embedded.topics = #啟動(dòng)時(shí)要?jiǎng)?chuàng)建的主題的逗號(hào)分隔列表。

spring.artemis.host = localhost #Artemis代理主機(jī)。

spring.artemis.mode = #Artemis部署模式,默認(rèn)情況下自動(dòng)檢測(cè)。 可以顯式設(shè)置為“native”或“embedded”。

spring.artemis.port = 61616 #Artemis 中間件端口。

# SPRING BATCH(Batch 配置)

spring.batch.initializer.enabled = true #如果需要,在啟動(dòng)時(shí)創(chuàng)建所需的批處理表。

spring.batch.job.enabled = true #在啟動(dòng)時(shí)執(zhí)行上下文中的所有Spring批處理作業(yè)。

spring.batch.job.names = #在啟動(dòng)時(shí)執(zhí)行的作業(yè)名稱(chēng)的逗號(hào)分隔列表(例如`job1,job2`)。 默認(rèn)情況下,執(zhí)行在上下文中找到的所有作業(yè)。

spring.batch.schema = classpath:org / springframework / batch / core / schema - @@ platform @@。sql #用于初始化數(shù)據(jù)庫(kù)模式的SQL文件的路徑。

spring.batch.table-prefix = #所有批次元數(shù)據(jù)表的表前綴。

# HORNETQ (HornetQ 配置)

spring.hornetq.embedded.cluster-password = #集群密碼。 默認(rèn)情況下隨機(jī)生成。

spring.hornetq.embedded.data-directory = #日志文件目錄。 如果持久性被關(guān)閉,則不需要。

spring.hornetq.embedded.enabled = true #如果HornetQ服務(wù)器API可用,啟用嵌入式模式。

spring.hornetq.embedded.persistent = false #啟用持久存儲(chǔ)。

spring.hornetq.embedded.queues = #啟動(dòng)時(shí)要?jiǎng)?chuàng)建的隊(duì)列的逗號(hào)分隔列表。

spring.hornetq.embedded.server-id = #服務(wù)器ID。 默認(rèn)情況下,使用自動(dòng)遞增的計(jì)數(shù)器。

spring.hornetq.embedded.topics = #在啟動(dòng)時(shí)創(chuàng)建的主題的逗號(hào)分隔列表。

spring.hornetq.host = localhost #HornetQ代理主機(jī)。

spring.hornetq.mode = #HornetQ部署模式,默認(rèn)情況下自動(dòng)檢測(cè)。 可以顯式設(shè)置為“native”或“embedded”。

spring.hornetq.port = 5445 #HornetQ代理端口。

# JMS (Jms 配置)

# 連接工廠(chǎng)JNDI名稱(chēng)。 設(shè)置時(shí),優(yōu)先于其他連接工廠(chǎng)自動(dòng)配置。

spring.jms.jndi-name=?

# 容器的確認(rèn)模式。 默認(rèn)情況下,監(jiān)聽(tīng)器被自動(dòng)確認(rèn)處理。

spring.jms.listener.acknowledge-mode=?

# 啟動(dòng)時(shí)自動(dòng)啟動(dòng)容器。

spring.jms.listener.auto-startup= true

# 最小并發(fā)消費(fèi)者數(shù)。

spring.jms.listener.concurrency=?

# 最大并發(fā)消費(fèi)者數(shù)。

spring.jms.listener.max-concurrency=?

# 指定默認(rèn)的目的地類(lèi)型是否為主題。

spring.jms.pub-sub-domain= false

# RABBIT (Rabbit 配置)

# 客戶(hù)端應(yīng)連接到的逗號(hào)分隔的地址列表。

spring.rabbitmq.addresses =?

spring.rabbitmq.dynamic =? true # 創(chuàng)建一個(gè)AmqpAdmin bean。

spring.rabbitmq.host =? localhost# RabbitMQ主機(jī)。

spring.rabbitmq.listener.acknowledge-mode = # 容器的確認(rèn)模式。

spring.rabbitmq.listener.auto-startup =? true# 啟動(dòng)時(shí)自動(dòng)啟動(dòng)容器。

spring.rabbitmq.listener.concurrency = # 最少消費(fèi)者數(shù)。

spring.rabbitmq.listener.max-concurrency = # 最大消費(fèi)者數(shù)。

spring.rabbitmq.listener.prefetch = # 在單個(gè)請(qǐng)求中要處理的消息數(shù)。它應(yīng)該大于或等于事務(wù)大?。ㄈ绻褂茫?/p>

spring.rabbitmq.listener.transaction-size = # 在事務(wù)中要處理的消息數(shù)。為了獲得最佳結(jié)果,它應(yīng)該小于或等于預(yù)取計(jì)數(shù)。

spring.rabbitmq.password = # 登錄以對(duì)代理進(jìn)行身份驗(yàn)證。

spring.rabbitmq.port =? 5672# RabbitMQ端口。

spring.rabbitmq.requested-heartbeat = # 請(qǐng)求的心跳超時(shí),以秒為單位;零為無(wú)。

spring.rabbitmq.ssl.enabled =? false# 啟用SSL支持。

spring.rabbitmq.ssl.key-store =? # 保存SSL證書(shū)的密鑰存儲(chǔ)區(qū)的路徑。

spring.rabbitmq.ssl.key-store-password = # 用于訪(fǎng)問(wèn)密鑰庫(kù)的密碼。

spring.rabbitmq.ssl.trust-store = # 保存SSL證書(shū)的Trust存儲(chǔ)。

spring.rabbitmq.ssl.trust-store-password = # 用于訪(fǎng)問(wèn)信任存儲(chǔ)的密碼。

spring.rabbitmq.username = # 登錄用戶(hù)對(duì)代理進(jìn)行身份驗(yàn)證。

spring.rabbitmq.virtual-host = # 連接到代理時(shí)使用的虛擬主機(jī)。

# 端點(diǎn)配置(EndpointCorsProperties)

# 設(shè)置是否支持憑據(jù)。 未設(shè)置時(shí),不支持憑據(jù)。

endpoints.cors.allow-credentials=?

# 在請(qǐng)求中允許的頭文件逗號(hào)分隔列表。 '*'允許所有標(biāo)題。

endpoints.cors.allowed-headers=?

# 逗號(hào)分隔的允許的方法列表。 '*'允許所有方法。

endpoints.cors.allowed-methods= GET

# 逗號(hào)分隔的起始列表允許。 '*'允許所有來(lái)源。 未設(shè)置時(shí),禁用CORS支持。

endpoints.cors.allowed-origins=?

# 包含在響應(yīng)中的標(biāo)題的逗號(hào)分隔列表。

endpoints.cors.exposed-headers=?

# 客戶(hù)端可以緩存飛行前請(qǐng)求的響應(yīng)時(shí)間(秒)。

endpoints.cors.max-age= 1800

# JMX ENDPOINT (EndpointMBeanExportProperties) (端點(diǎn)MBean導(dǎo)出屬性)

# JMX域名。 如果設(shè)置為'spring.jmx.default-domain'的值初始化。

endpoints.jmx.domain=?

# 啟用所有端點(diǎn)的JMX導(dǎo)出。

endpoints.jmx.enabled= true

# 附加靜態(tài)屬性以附加到表示端點(diǎn)的MBean的所有對(duì)象名稱(chēng)。

endpoints.jmx.static-names=?

# 確保在發(fā)生沖突時(shí)修改ObjectNames。

endpoints.jmx.unique-names= false

# JOLOKIA? JOLOKIA 配置

# 見(jiàn)Jolokia手冊(cè)

jolokia.config.*=?

# 管理HTTP服務(wù)器(管理服務(wù)器屬性)

# 在每個(gè)響應(yīng)中添加“X-Application-Context”HTTP頭。

management.add-application-context-header= true

# 管理端點(diǎn)應(yīng)綁定到的網(wǎng)絡(luò)地址。

management.address=?

# 管理端點(diǎn)上下文路徑。 例如`/ actuator`

management.context-path=?

# 管理端點(diǎn)HTTP端口。 默認(rèn)使用與應(yīng)用程序相同的端口。

management.port=?

# 啟用安全性

management.security.enabled= true

# 訪(fǎng)問(wèn)管理端點(diǎn)所需的角色。

management.security.role= ADMIN

# 會(huì)話(huà)創(chuàng)建策略使用(always,never,if_required,stateless)(總是,永遠(yuǎn),if_required,無(wú)狀態(tài))。

management.security.sessions= stateless

# HEALTH INDICATORS (previously health.*)

# 啟用數(shù)據(jù)庫(kù)運(yùn)行狀況檢查

management.health.db.enabled= true

# 啟用默認(rèn)的健康指標(biāo)。

management.health.defaults.enabled= true

# 啟用磁盤(pán)空間運(yùn)行狀況檢查。

management.health.diskspace.enabled= true

# 用于計(jì)算可用磁盤(pán)空間的路徑。

management.health.diskspace.path=?

# 應(yīng)該可用的最小磁盤(pán)空間(以字節(jié)為單位)。

management.health.diskspace.threshold= 0

# 啟用彈性搜索健康檢查。

management.health.elasticsearch.enabled= true

# 逗號(hào)分隔的索引名稱(chēng)。

management.health.elasticsearch.indices=?

# 等待群集響應(yīng)的時(shí)間(以毫秒為單位)。

management.health.elasticsearch.response-timeout= 100

# 啟用JMS健康檢查。

management.health.jms.enabled= true

# 啟用郵件運(yùn)行狀況檢查。

management.health.mail.enabled= true

# 啟用MongoDB健康檢查。

management.health.mongo.enabled= true

# 啟用RabbitMQ運(yùn)行狀況檢查。

management.health.rabbit.enabled= true

# 啟用Redis健康檢查。

management.health.redis.enabled= true

# 啟用Solr運(yùn)行狀況檢查。

management.health.solr.enabled= true

# 按照嚴(yán)重性的順序,以逗號(hào)分隔的健康狀態(tài)列表。

management.health.status.order= DOWN, OUT_OF_SERVICE, UNKNOWN, UP

# TRACING ((TraceProperties) 跟蹤性能

# 跟蹤中包含的項(xiàng)目。

management.trace.include= request-headers,response-headers,errors

# 遠(yuǎn)程 shell配置

# 驗(yàn)證類(lèi)型。 根據(jù)環(huán)境自動(dòng)檢測(cè)。

shell.auth= simple

# JAAS域。

shell.auth.jaas.domain= my-domain

# 驗(yàn)證密鑰的路徑。 這應(yīng)該指向一個(gè)有效的“.pem”文件。

shell.auth.key.path=?

# 登錄用戶(hù)。

shell.auth.simple.user.name= user

# 登錄用戶(hù)的密碼。

shell.auth.simple.user.password=?

# 登錄到CRaSH控制臺(tái)的所需的角色,以逗號(hào)分隔列表。

shell.auth.spring.roles= ADMIN

# 用于查找命令的模式。

shell.command-path-patterns= classpath*:/commands/**,classpath*:/crash/commands/**

# 掃描更改并在必要時(shí)更新命令(以秒為單位)。

shell.command-refresh-interval= -1

# 用于查找配置的模式。

shell.config-path-patterns= classpath*:/crash/*

# 逗號(hào)分隔的要禁用的命令列表。

shell.disabled-commands= jpa*,jdbc*,jndi*

# 禁用逗號(hào)分隔的插件列表。 默認(rèn)情況下,根據(jù)環(huán)境禁用某些插件。

shell.disabled-plugins=?

# 用戶(hù)被提示再次登錄后的毫秒數(shù)。

shell.ssh.auth-timeout =?

# 啟用CRaSH SSH支持。

shell.ssh.enabled= true

# 未使用的連接關(guān)閉之后的毫秒數(shù)。

shell.ssh.idle-timeout =?

# SSH服務(wù)器密鑰路徑。

shell.ssh.key-path=?

# SSH端口。

shell.ssh.port= 2000

# 啟用CRaSH telnet支持。 如果TelnetPlugin可用,默認(rèn)情況下啟用。

shell.telnet.enabled= false

# Telnet端口。

shell.telnet.port= 5000

# GIT 信息配置

# 生成的git信息屬性文件的資源引用。

spring.git.properties=?

# 標(biāo)準(zhǔn)出口

# 模式,告訴聚合器如何從源存儲(chǔ)庫(kù)中的鍵。

spring.metrics.export.aggregate.key-pattern=?

# 全局存儲(chǔ)庫(kù)的前綴如果處于活動(dòng)狀態(tài)。

spring.metrics.export.aggregate.prefix=?

# 導(dǎo)出刻度之間以毫秒為單位的延遲。 按照這種延遲,指標(biāo)將按計(jì)劃導(dǎo)出到外部來(lái)源。

spring.metrics.export.delay-millis= 5000

# 標(biāo)志以啟用度量標(biāo)準(zhǔn)導(dǎo)出(假設(shè)MetricWriter可用)。

spring.metrics.export.enabled= true

# 要排除的度量名稱(chēng)列表。 應(yīng)用后包括。

spring.metrics.export.excludes=?

# 要包含的度量名稱(chēng)的模式列表。

spring.metrics.export.includes=?

# redis存儲(chǔ)庫(kù)導(dǎo)出的密鑰(如果活動(dòng))。

spring.metrics.export.redis.key= keys.spring.metrics

# redis存儲(chǔ)庫(kù)的前綴 如果處于活動(dòng)狀態(tài)。

spring.metrics.export.redis.prefix= spring.metrics

# 標(biāo)志基于不導(dǎo)出不變的度量值來(lái)關(guān)閉任何可用的優(yōu)化。

spring.metrics.export.send-latest=?

# 主機(jī)的statsd服務(wù)器接收導(dǎo)出的指標(biāo)。

spring.metrics.export.statsd.host=?

# 接收導(dǎo)出指標(biāo)的statsd服務(wù)器端口。

spring.metrics.export.statsd.port= 8125

# statsd導(dǎo)出指標(biāo)的前綴。

spring.metrics.export.statsd.prefix=?

# 每個(gè)MetricWriter bean名稱(chēng)具有特定的觸發(fā)器屬性。

spring.metrics.export.triggers.*=?

# ----------------------------------------

# DEVTOOLS屬性

# ----------------------------------------

# DEVTOOLS(開(kāi)發(fā)工具屬性)

# 啟用一個(gè)livereload.com兼容的服務(wù)器。

spring.devtools.livereload.enabled= true

#? # Server port.

spring.devtools.livereload.port= 35729

# 應(yīng)該排除的觸發(fā)完全重新啟動(dòng)的其他模式。

spring.devtools.restart.additional-exclude=?

# 觀(guān)看更改的附加路徑。

spring.devtools.restart.additional-paths=?

# 啟用自動(dòng)重啟功能。

spring.devtools.restart.enabled= true

# 應(yīng)該排除的模式觸發(fā)完全重新啟動(dòng)。

spring.devtools.restart.exclude=

META-INF/maven/**,META-INF/resources/**,resources/**,static/**,public/**,templates/**,**/*Test.class,**/*Tests.class,git.properties

# 輪詢(xún)類(lèi)路徑更改之間等待的時(shí)間量(以毫秒為單位)。

spring.devtools.restart.poll-interval= 1000

# 觸發(fā)重新啟動(dòng)之前沒(méi)有任何類(lèi)路徑更改所需的安靜時(shí)間量(以毫秒為單位)。

spring.devtools.restart.quiet-period= 400

# 更改后的特定文件的名稱(chēng)將觸發(fā)重新啟動(dòng)檢查。 如果未指定任何類(lèi)路徑文件更改將觸發(fā)重新啟動(dòng)。

spring.devtools.restart.trigger-file=?

# 遠(yuǎn)程開(kāi)發(fā)工具屬性

# 用于處理遠(yuǎn)程連接的上下文路徑。

spring.devtools.remote.context-path= /.~~spring-boot!~

# 啟用遠(yuǎn)程調(diào)試支持。

spring.devtools.remote.debug.enabled= true

# 本地遠(yuǎn)程調(diào)試服務(wù)器端口。

spring.devtools.remote.debug.local-port= 8000

# 用于連接到遠(yuǎn)程應(yīng)用程序的代理主機(jī)。

spring.devtools.remote.proxy.host=?

# 用于連接到遠(yuǎn)程應(yīng)用程序的代理端口。

spring.devtools.remote.proxy.port=?

# 啟用遠(yuǎn)程重啟。

spring.devtools.remote.restart.enabled= true

# 建立連接所需的共享密鑰(需要啟用遠(yuǎn)程支持)。

spring.devtools.remote.secret=?

# HTTP頭用于傳輸共享密鑰。</ span>

spring.devtools.remote.secret-header-name= X-AUTH-TOKEN

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀(guān)點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容