springboot項目application配置

1. 啟動配置

要加"m"說明是MB绝编,否則就是KB了
-Xms:初始值
-Xmx:最大值
-Xmn:最小值
java -Xms10m -Xmx80m -jar mod.jar &
時區(qū)設(shè)置 java -jar -Duser.timezone=GMT+08 mod.jar &

springboot啟動項目配置文件加載順序
/config, / , classpath:/config斩启,classpath: 找到后不再繼續(xù)查找

2.核心屬性

2.1 BANNER

banner.charset = UTF -8#橫幅文件編碼钉蒲。
banner.location = classpath :banner.txt#橫幅文件位置。

2.2 LOGGING

logging.config =#日志記錄配置文件的位置。例如對于Logback的“classpath:logback.xml”
logging.exception-conversion-word =%wEx#記錄異常時使用的轉(zhuǎn)換字。
logging.file =#日志文件名仑乌。例如myapp.log
logging.level。* =#日志級別嚴重性映射琴锭。例如logging.level.org.springframework = DEBUG
logging.path =#日志文件的位置晰甚。例如/ var / log
logging.pattern.console =#輸出到控制臺的Appender模式。僅支持默認logback設(shè)置决帖。
logging.pattern.file =#輸出到文件的Appender模式厕九。僅支持默認logback設(shè)置。
logging.pattern.level =#日志級別的Appender模式(默認為%5p)地回。僅支持默認logback設(shè)置扁远。
logging.register-shutdown-hook = false #在初始化時為日志系統(tǒng)注冊一個關(guān)閉掛接俊鱼。

2.3 AOP

spring.aop.auto = true #添加@EnableAspectJAutoProxy。
spring.aop.proxy-target-class = false #是否要創(chuàng)建基于子類(CGLIB)的代理(true)畅买,而不是基于標(biāo)準Java接口的代理(false)并闲。

2.4 IDENTITY(ContextIdApplicationContextInitializer)

spring.application.index =#應(yīng)用程序索引。
spring.application.name =#應(yīng)用程序名稱谷羞。

2.5 ADMIN(SpringApplicationAdminJmxAutoConfiguration)

spring.application.admin.enabled = false #為應(yīng)用程序啟用管理功能帝火。
spring.application.admin.jmx-name = org .springframework.boot:type = Admin ,name = SpringApplication #應(yīng)用程序管理MBean的JMX名稱湃缎。

2.6 AUTO-CONFIGURATION

spring.autoconfigure.exclude =#要自動配置要排除的類犀填。

2.7 SPRING CORE

spring.beaninfo.ignore = true #跳過搜索BeanInfo類。

2.8 SPRING CACHE(CacheProperties)

spring.cache.cache-names =#如果底層緩存管理器支持嗓违,則創(chuàng)建緩沖區(qū)名稱的逗號分隔列表九巡。
spring.cache.ehcache.config =#用于初始化EhCache的配置文件的位置。
spring.cache.guava.spec =#用于創(chuàng)建緩存的規(guī)范蹂季。檢查CacheBuilderSpec有關(guān)規(guī)格格式的更多詳細信息比庄。
spring.cache.hazelcast.config =#用于初始化Hazelcast的配置文件的位置。
spring.cache.infinispan.config =#用于初始化Infinispan的配置文件的位置乏盐。
spring.cache.jcache.config =#用于初始化緩存管理器的配置文件的位置。
spring.cache.jcache.provider =#用于檢索符合JSR-107規(guī)范的緩存管理器的CachingProvider實現(xiàn)的完全限定名制恍。只有在類路徑上有多個JSR-107實現(xiàn)可用時才需要父能。
spring.cache.type =#緩存類型,默認情況下根據(jù)環(huán)境自動檢測净神。

2.9 SPRING CONFIG - 僅使用環(huán)境屬性(ConfigFileApplicationListener)

spring.config.location =#配置文件位置何吝。
spring.config.name = application #配置文件名。

#HAZELCAST(HazelcastProperties)
spring.hazelcast.config =#用于初始化Hazelcast的配置文件的位置鹃唯。

#JMX
spring.jmx.default-domain =#JMX域名爱榕。
spring.jmx.enabled = true #將管理bean暴露給JMX域。
spring.jmx.server = mbeanServer #MBeanServer bean名稱坡慌。

#Email(MailProperties)
spring.mail.default-encoding = UTF -8#默認MimeMessage編碼黔酥。
spring.mail.host =#SMTP服務(wù)器主機。例如smtp.example.com
spring.mail.jndi-name =#Session JNDI名稱洪橘。設(shè)置時跪者,優(yōu)先于其他郵件設(shè)置。
spring.mail.password =#SMTP服務(wù)器的登錄密碼熄求。
spring.mail.port =#SMTP服務(wù)器端口渣玲。
spring.mail.properties。* =#其他JavaMail會話屬性弟晚。
spring.mail.protocol = smtp #SMTP服務(wù)器使用的協(xié)議忘衍。
spring.mail.test-connection = false #測試郵件服務(wù)器在啟動時是否可用逾苫。
spring.mail.username =#SMTP服務(wù)器的登錄用戶。

#APPLICATION SETTINGS(SpringApplication)
spring.main.banner-mode = console #用于在應(yīng)用程序運行時顯示橫幅的模式枚钓。
spring.main.sources =#要包括在ApplicationContext中的Sources(類名铅搓,包名或XML資源位置)。
spring.main.web-environment =#在Web環(huán)境中運行應(yīng)用程序(默認情況下自動檢測)秘噪。

#FILE ENCODING(FileEncodingApplicationListener)
spring.mandatory-file-encoding =#應(yīng)用程序必須使用的預(yù)期字符編碼狸吞。

#INTERNATIONALIZATION(MessageSourceAutoConfiguration)
spring.messages.basename = messages #以逗號分隔的基本名稱列表,每個名稱遵循ResourceBundle約定指煎。
spring.messages.cache-seconds = -1#加載的資源束文件緩存到期時間(以秒為單位)蹋偏。設(shè)置為-1時,捆綁包將被永久緩存至壤。
spring.messages.encoding = UTF -8#消息包編碼威始。
spring.messages.fallback-to-system-locale = true #設(shè)置是否找不到特定區(qū)域設(shè)置的文件,返回到系統(tǒng)區(qū)域設(shè)置像街。

#OUTPUT
spring.output.ansi.enabled = detect #配置ANSI輸出(可以是“detect”黎棠,“always”,“never”)镰绎。

#PID FILE(ApplicationPidFileWriter)
spring.pid.fail-on-write-error =#如果使用ApplicationPidFileWriter但不能寫入PID文件脓斩,則失敗。
spring.pid.file =#要寫入的PID文件的位置(如果使用ApplicationPidFileWriter)畴栖。

#PROFILES
spring.profiles.active =K婢玻活動配置文件的逗號分隔列表。
spring.profiles.include =#無條件地激活指定的逗號分隔的概要文件吗讶。

#SENDGRID(SendGridAutoConfiguration)
spring.sendgrid.api-key =#SendGrid api key(用戶名/密碼的替代)
spring.sendgrid.username =#SendGrid帳戶用戶名
spring.sendgrid.password =#SendGrid帳戶密碼
spring.sendgrid.proxy.host =#SendGrid代理主機
spring.sendgrid.proxy.port =#SendGrid代理端口

#----------------------------------------
#WEB PROPERTIES
#----------------------------------------

#MULTIPART(MultipartProperties)
multipart.enabled = true #啟用對多部分上傳的支持燎猛。
multipart.file-size-threshold = 0 #將文件寫入磁盤的閾值。值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小照皆。
multipart.location =#上傳文件的中間位置重绷。
multipart.max-file-size = 1Mb #最大文件大小。值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小膜毁。
multipart.max-request-size = 10Mb #最大請求大小昭卓。值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小。

#EMBEDDED SERVER CONFIGURATION(ServerProperties)
server.address =#服務(wù)器應(yīng)綁定到的網(wǎng)絡(luò)地址瘟滨。
server.compression.enabled = false #如果啟用了響應(yīng)壓縮葬凳。
server.compression.excluded-user-agents =#要從壓縮中排除的用戶代理的列表。
server.compression.mime-types =#應(yīng)壓縮的MIME類型的逗號分隔列表室奏。例如text / html火焰,text / css,application / json
server.compression.min-response-size =#要執(zhí)行壓縮所需的最小響應(yīng)大小胧沫。例如2048
server.context-parameters昌简。* =#Servlet上下文初始化參數(shù)占业。例如server.context-parameters.a = 阿爾法
server.context-path =#應(yīng)用程序的上下文路徑。
server.display-name = application #顯示應(yīng)用程序的名稱纯赎。
server.error.include-stacktrace = never #何時包含“stacktrace”屬性谦疾。
server.error.path = / error#錯誤控制器的路徑。
server.error.whitelabel.enabled = true #在服務(wù)器錯誤的情況下啟用瀏覽器中顯示的默認錯誤頁面犬金。
server.jsp-servlet.class-name = org .apache.jasper.servlet.JspServlet#JSP servlet的類名念恍。
server.jsp-servlet.init-parameters。* =#用于配置JSP servlet的初始化參數(shù)
server.jsp-servlet.registered = true #是否注冊了JSP servlet
server.port = 8080 #服務(wù)器HTTP端口晚顷。
server.server-header =#在服務(wù)器響應(yīng)頭中發(fā)送的值(如果為空峰伙,則使用servlet容器默認值)
server.servlet-path = /#主調(diào)度程序servlet的路徑。
server.session.cookie.comment =#對會話cookie進行注釋该默。
server.session.cookie.domain =#會話cookie的域瞳氓。
server.session.cookie.http-only =#“HttpOnly”標(biāo)志為會話cookie栓袖。
server.session.cookie.max-age =#會話Cookie的最大時間(以秒為單位)匣摘。
server.session.cookie.name =#會話cookie名稱。
server.session.cookie.path =#會話cookie的路徑裹刮。
server.session.cookie.secure =R舭瘢“安全”標(biāo)志的會話cookie。
server.session.persistent = false #在重新啟動之間保持會話數(shù)據(jù)捧弃。
server.session.store-dir =#用于存儲會話數(shù)據(jù)的目錄囊咏。
server.session.timeout =#會話超時(以秒為單位)。
server.session.tracking-modes =#會話跟蹤模式(以下一個或多個:“cookie”塔橡,“url”,“ssl”)霜第。
server.ssl.ciphers =#支持的SSL密碼葛家。
server.ssl.client-auth =#是否需要客戶端身份驗證(“需要”)或需要(“需要”)。需要信任存儲泌类。
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 =#
server.tomcat.accesslog.directory = logs #創(chuàng)建日志文件的目錄癞谒。可以相對于tomcat的base dir或絕對刃榨。
server.tomcat.accesslog.enabled = false #啟用訪問日志弹砚。
server.tomcat.accesslog.pattern = common #訪問日志的格式模式。
server.tomcat.accesslog.prefix = access_log #日志文件名前綴枢希。
server.tomcat.accesslog.suffix = .log#日志文件名后綴桌吃。
server.tomcat.background-processor-delay = 30 #調(diào)用backgroundProcess方法之間的延遲(以秒為單位)。
server.tomcat.basedir =#Tomcat基目錄苞轿。如果未指定茅诱,將使用臨時目錄逗物。
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}#正則表達式匹配可信IP地址。
server.tomcat.max-http-header-size = 0 #HTTP消息頭的最大大胁煊簟(以字節(jié)為單位)衍慎。
server.tomcat.max-threads = 0 #最大工作線程數(shù)。
server.tomcat.port-header = X -Forwarded-Port#用于覆蓋原始端口值的HTTP頭的名稱皮钠。
server.tomcat.protocol-header =#保存?zhèn)魅雲(yún)f(xié)議的頭稳捆,通常命名為“X-Forwarded-Proto”。
server.tomcat.protocol-header-https-value = https #指示入局請求使用SSL的協(xié)議頭的值麦轰。
server.tomcat.remote-ip-header =#從中提取遠程ip的http標(biāo)頭的名稱乔夯。例如X-FORWARDED-FOR
server.tomcat.uri-encoding = UTF -8#用于解碼URI的字符編碼。
server.undertow.accesslog.dir =#訪問日志目錄款侵。
server.undertow.accesslog.enabled = false #啟用訪問日志末荐。
server.undertow.accesslog.pattern = common #訪問日志的格式模式。
server.undertow.buffer-size =#每個緩沖區(qū)的大行滦狻(以字節(jié)為單位)甲脏。
server.undertow.buffers-per-region =#每個區(qū)域的緩沖區(qū)數(shù)。
server.undertow.direct-buffers =#在Java堆外分配緩沖區(qū)。
server.undertow.io-threads =#為worker創(chuàng)建的I / O線程數(shù)剃幌。
server.undertow.worker-threads =#工作線程數(shù)聋涨。
server.use-forward-headers =#如果X-Forwarded- *頭應(yīng)該應(yīng)用于HttpRequest。

#FREEMARKER(FreeMarkerAutoConfiguration)
spring.freemarker.allow-request-override = false #設(shè)置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性负乡。
spring.freemarker.allow-session-override = false #設(shè)置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性牍白。
spring.freemarker.cache = false #啟用模板緩存。
spring.freemarker.charset = UTF -8#模板編碼抖棘。
spring.freemarker.check-template-location = true #檢查模板位置是否存在茂腥。
spring.freemarker.content-type = text / html#Content-Type值。
spring.freemarker.enabled = true #為此技術(shù)啟用MVC視圖分辨率切省。
spring.freemarker.expose-request-attributes = false #設(shè)置是否應(yīng)在與模板合并之前將所有請求屬性添加到模型最岗。
spring.freemarker.expose-session-attributes = false #設(shè)置在與模板合并之前是否應(yīng)將所有HttpSession屬性添加到模型。
spring.freemarker.expose-spring-macro-helpers = true #設(shè)置是否公開一個RequestContext供Spring的宏庫使用朝捆,名稱為“springMacroRequestContext”般渡。
spring.freemarker.prefer-file-system-access = true #首選模板加載的文件系統(tǒng)訪問。文件系統(tǒng)訪問啟用對模板更改的熱檢測芙盘。
spring.freemarker.prefix =#在構(gòu)建URL時驯用,預(yù)先查看名稱的前綴。
spring.freemarker.request-context-attribute =#所有視圖的RequestContext屬性的名稱儒老。
spring.freemarker.settings蝴乔。* =#眾所周知的FreeMarker鍵,它將被傳遞給FreeMarker的配置驮樊。
spring.freemarker.suffix =#構(gòu)建URL時附加到視圖名稱的后綴薇正。
spring.freemarker.template-loader-path = classpath :/ templates /#模板路徑的逗號分隔列表。
spring.freemarker.view-names =G粝危可以解析的視圖名稱的白名單挖腰。

#GROOVY TEMPLATES(GroovyTemplateAutoConfiguration)
spring.groovy.template.allow-request-override = false #設(shè)置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.groovy.template.allow-session-override = false #設(shè)置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名的模型屬性练湿。
spring.groovy.template.cache =#啟用模板緩存猴仑。
spring.groovy.template.charset = UTF -8#模板編碼。
spring.groovy.template.check-template-location = true #檢查模板位置是否存在鞠鲜。
spring.groovy.template.configuration。* =#參見GroovyMarkupConfigurer
spring.groovy.template.content-type = test / html#Content-Type值断国。
spring.groovy.template.enabled = true #為此技術(shù)啟用MVC視圖分辨率贤姆。
spring.groovy.template.expose-request-attributes = false #設(shè)置是否應(yīng)在合并模板之前將所有請求屬性添加到模型。
spring.groovy.template.expose-session-attributes = false #設(shè)置在與模板合并之前是否應(yīng)該將所有HttpSession屬性添加到模型稳衬。
spring.groovy.template.expose-spring-macro-helpers = true #設(shè)置是否公開一個RequestContext供Spring的宏庫使用霞捡,名稱為“springMacroRequestContext”。
spring.groovy.template.prefix =#構(gòu)建URL時薄疚,在前面添加用于查看名稱的前綴碧信。
spring.groovy.template.request-context-attribute =#所有視圖的RequestContext屬性的名稱赊琳。
spring.groovy.template.resource-loader-path = classpath :/ templates /#模板路徑。
spring.groovy.template.suffix = .tpl#構(gòu)建URL時附加到視圖名稱的后綴砰碴。
spring.groovy.template.view-names =u锓ぃ可以解析的視圖名稱的白名單。

#SPRING HATEOAS(HateoasProperties)
spring.hateoas.use-hal-as-default-json-media-type = true #指定是否應(yīng)該將application / hal + json響應(yīng)發(fā)送到接受application / json的請求呈枉。

#HTTP消息轉(zhuǎn)換
spring.http.converters.preferred-json-mapper = jackson #首選用于HTTP消息轉(zhuǎn)換的JSON映射程序趁尼。設(shè)置為“gson”以強制使用Gson,當(dāng)它和Jackson都在類路徑上時猖辫。

#HTTP encoding(HttpEncodingProperties)
spring.http.encoding.charset = UTF -8#HTTP請求和響應(yīng)的字符集酥泞。如果未明確設(shè)置,則添加到“Content-Type”標(biāo)題啃憎。
spring.http.encoding.enabled = true #啟用http編碼支持芝囤。
spring.http.encoding.force = true #強制編碼到配置的字符集上HTTP請求和響應(yīng)。

#JACKSON(JacksonProperties)
spring.jackson.date-format =#日期格式字符串或完全限定的日期格式類名稱辛萍。例如yyyy-MM-dd HH:mm:ss悯姊。
spring.jackson.deserialization。* =#Jackson on / off功能影響Java對象的反序列化方式叹阔。
spring.jackson.generator挠轴。* =#Jackson的on / off功能用于生成器。
spring.jackson.joda-date-time-format =#Joda日期時間格式字符串耳幢。如果未配置岸晦,如果使用格式字符串配置,“date-format”將用作后備睛藻。
spring.jackson.locale =#用于格式化的區(qū)域設(shè)置启上。
spring.jackson.mapper。* =#Jackson通用開/關(guān)功能店印。
spring.jackson.parser冈在。* =#Jackson解析器的on / off功能。
spring.jackson.property-naming-strategy =#Jackson的PropertyNamingStrategy上的一個常量按摘。也可以是PropertyNamingStrategy子類的完全限定類名包券。
spring.jackson.serialization。* =#Jackson on / off功能影響Java對象的序列化方式炫贤。
spring.jackson.serialization-inclusion ==蹋控制序列化期間屬性的包含。使用Jackson的JsonInclude.Include枚舉中的值之一進行配置兰珍。
spring.jackson.time-zone =#格式化日期時使用的時區(qū)侍郭。例如America / Los_Angeles

#JERSEY(JerseyProperties)
spring.jersey.application-path =#作為應(yīng)用程序的基本URI的路徑。如果指定,則覆蓋“@ApplicationPath”的值亮元。
spring.jersey.filter.order = 0 #Jersey過濾器鏈的順序猛计。
spring.jersey.init。* =#通過servlet或過濾器傳遞給Jersey的初始參數(shù)爆捞。
spring.jersey.type = servlet #Jersey集成類型奉瘤。可以是“servlet”或“filter”嵌削。

#SPRING MOBILE DEVICE VIEWS(DeviceDelegatingViewResolverAutoConfiguration)
spring.mobile.devicedelegatingviewresolver.enable-fallback = false #啟用支持回退解析毛好。
spring.mobile.devicedelegatingviewresolver.enabled = false #啟用設(shè)備視圖解析器。
spring.mobile.devicedelegatingviewresolver.mobile-prefix = mobile /#預(yù)先在移動設(shè)備上查看名稱的前綴苛秕。
spring.mobile.devicedelegatingviewresolver.mobile-suffix =#附加到移動設(shè)備的視圖名稱的后綴肌访。
spring.mobile.devicedelegatingviewresolver.normal-prefix =#前綴,用于查看常規(guī)設(shè)備的名稱艇劫。
spring.mobile.devicedelegatingviewresolver.normal-suffix =#附加到普通設(shè)備的視圖名稱的后綴吼驶。
spring.mobile.devicedelegatingviewresolver.tablet-prefix = tablet /#預(yù)先查看平板電腦設(shè)備名稱的前綴。
spring.mobile.devicedelegatingviewresolver.tablet-suffix =#附加到平板電腦設(shè)備的視圖名稱的后綴店煞。

#SPRING MOBILE SITE PREFERENCE(SitePreferenceAutoConfiguration)
spring.mobile.sitepreference.enabled = true #啟用SitePreferenceHandler蟹演。

#MUSTACHE TEMPLATES(MustacheAutoConfiguration)
spring.mustache.cache = false #啟用模板緩存。
spring.mustache.charset = UTF -8#模板編碼顷蟀。
spring.mustache.check-template-location = true #檢查模板位置是否存在酒请。
spring.mustache.content-type = text / html#Content-Type值。
spring.mustache.enabled = true #為此技術(shù)啟用MVC視圖分辨率鸣个。
spring.mustache.prefix = classpath :/ templates /#要應(yīng)用于模板名稱的前綴羞反。
spring.mustache.suffix = .html#應(yīng)用于模板名稱的后綴芒涡。
spring.mustache.view-names =Iゴ龋可以解析的視圖名稱的白名單妓布。

#SPRING MVC(WebMvcProperties)
spring.mvc.async.request-timeout =#異步請求處理超時之前的時間(以毫秒為單位)陵吸。
spring.mvc.date-format =#要使用的日期格式。例如dd / MM / yyyy王凑。
spring.mvc.dispatch-trace-request = false #將TRACE請求分發(fā)到FrameworkServlet doService方法紊馏。
spring.mvc.dispatch-options-request = false #向FrameworkServlet doService方法分發(fā)OPTIONS請求硬贯。
spring.mvc.favicon.enabled = true #啟用favicon.ico的解析富雅。
spring.mvc.ignore-default-model-on-redirect = true #如果在重定向場景中應(yīng)該忽略“默認”模型的內(nèi)容掸驱。
spring.mvc.locale =#要使用的區(qū)域設(shè)置。
spring.mvc.media-types没佑。* =#將文件擴展名映射到用于內(nèi)容協(xié)商的媒體類型毕贼。
spring.mvc.message-codes-resolver-format =#消息代碼的格式化策略。例如PREFIX_ERROR_CODE图筹。
spring.mvc.static-path-pattern = / **#用于靜態(tài)資源的路徑模式帅刀。
spring.mvc.throw-exception-if-no-handler-found = false #如果沒有找到處理請求的處理程序,應(yīng)拋出“NoHandlerFoundException”远剩。
spring.mvc.view.prefix =#Spring MVC視圖前綴扣溺。
spring.mvc.view.suffix =#Spring MVC視圖后綴。

#SPRING RESOURCES HANDLING(ResourceProperties)
spring.resources.add-mappings = true #啟用默認資源處理瓜晤。
spring.resources.cache-period =#資源處理程序服務(wù)的資源的高速緩存時間段(以秒為單位)锥余。
spring.resources.chain.cache = true #在資源鏈中啟用緩存。
spring.resources.chain.enabled =#啟用Spring資源處理鏈痢掠。默認情況下禁用驱犹,除非已啟用至少一個策略。
spring.resources.chain.html-application-cache = false #啟用HTML5應(yīng)用程序緩存清單重寫足画。
spring.resources.chain.strategy.content.enabled = false #啟用內(nèi)容版本策略雄驹。
spring.resources.chain.strategy.content.paths = / **#要應(yīng)用于版本策略的模式的逗號分隔列表。
spring.resources.chain.strategy.fixed.enabled = false #啟用固定版本策略淹辞。
spring.resources.chain.strategy.fixed.paths =#要應(yīng)用于版本策略的模式的逗號分隔列表医舆。
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應(yīng)用程序秘密

#SPRING SOCIAL TWITTER(TwitterAutoConfiguration)
spring.social.twitter.app-id =#您應(yīng)用程序的Twitter應(yīng)用程序ID
spring.social.twitter.app-secret =#你的應(yīng)用程序的Twitter應(yīng)用程序秘密

#THYMELEAF(ThymeleafAutoConfiguration)
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)該從解析中排除的以逗號分隔的視圖名稱列表胁黑。
spring.thymeleaf.mode = HTML5 #要應(yīng)用于模板的模板模式。另請參見StandardTemplateModeHandlers州泊。
spring.thymeleaf.prefix = classpath :/ templates /#構(gòu)建URL時預(yù)先查看名稱的前綴丧蘸。
spring.thymeleaf.suffix = .html#構(gòu)建URL時附加到視圖名稱的后綴。
spring.thymeleaf.template-resolver-order =#鏈中模板解析器的順序遥皂。
spring.thymeleaf.view-names =Aε纾可以解析的以逗號分隔的視圖名稱列表。

#VELOCITY TEMPLATES(VelocityAutoConfiguration)
spring.velocity.allow-request-override = false #設(shè)置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性演训。
spring.velocity.allow-session-override = false #設(shè)置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性弟孟。
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上下文中公開的DateTool輔助對象的名稱。
spring.velocity.enabled = true #為此技術(shù)啟用MVC視圖分辨率陈症。
spring.velocity.expose-request-attributes = false #設(shè)置是否應(yīng)在與模板合并之前將所有請求屬性添加到模型蔼水。
spring.velocity.expose-session-attributes = false #設(shè)置在與模板合并之前是否應(yīng)該將所有HttpSession屬性添加到模型。
spring.velocity.expose-spring-macro-helpers = true #設(shè)置是否公開一個RequestContext供Spring的宏庫使用录肯,名稱為“springMacroRequestContext”趴腋。
spring.velocity.number-tool-attribute =#要在視圖的Velocity上下文中公開的NumberTool輔助對象的名稱。
spring.velocity.prefer-file-system-access = true #首選模板加載的文件系統(tǒng)訪問论咏。文件系統(tǒng)訪問啟用對模板更改的熱檢測优炬。
spring.velocity.prefix =#構(gòu)建URL時在前面添加用于查看名稱的前綴。
spring.velocity.properties厅贪。* =#額外的速度屬性蠢护。
spring.velocity.request-context-attribute =#所有視圖的RequestContext屬性的名稱。
spring.velocity.resource-loader-path = classpath :/ templates /#模板路徑养涮。
spring.velocity.suffix = .vm #構(gòu)建URL時附加到視圖名稱的后綴糊余。
spring.velocity.toolbox-config-location =#Velocity工具箱配置位置。例如`/ WEB-INF / toolbox.xml
spring.velocity.view-names =5ゼ牛可以解析的視圖名稱的白名單贬芥。

#----------------------------------------
#安全性
#----------------------------------------
#SECURITY(SecurityProperties)
security.basic.authorize-mode = role #應(yīng)用安全授權(quán)模式。
security.basic.enabled = true #啟用基本認證宣决。
security.basic.path = / **#以逗號分隔的安全路徑列表蘸劈。
security.basic.realm = Spring #HTTP基本領(lǐng)域名稱。
security.enable-csrf = false #啟用跨站點請求偽造支持尊沸。
security.filter-order = 0 #安全過濾器鏈順序威沫。
security.filter-dispatcher-types = ASYNC ,F(xiàn)ORWARD洼专,INCLUDE棒掠,REQUEST#安全過濾器鏈分派器類型。
security.headers.cache = true #啟用緩存控制HTTP頭屁商。
security.headers.content-type = true #啟用“X-Content-Type-Options”標(biāo)頭烟很。
security.headers.frame = true #啟用“X-Frame-Options”標(biāo)頭。
security.headers.hsts =#HTTP嚴格傳輸安全(HSTS)模式(無蜡镶,域雾袱,全部)。
security.headers.xss = true #啟用跨站點腳本(XSS)保護官还。
security.ignored =#要從默認安全路徑中排除的路徑的逗號分隔列表芹橡。
security.require-ssl = false #為所有請求啟用安全通道。
security.sessions = stateless #會話創(chuàng)建策略(始終望伦,從不林说,if_required煎殷,無狀態(tài))。
security.user.name = user #默認用戶名腿箩。
security.user.password =#默認用戶名的密碼蝌数。默認情況下,在啟動時記錄隨機密碼度秘。
security.user.role = USER #為默認用戶名授予角色。

#SECURITY OAUTH2 CLIENT(OAuth2ClientProperties
security.oauth2.client.client-id =#OAuth2客戶端ID饵撑。
security.oauth2.client.client-secret =#OAuth2客戶端密鑰剑梳。默認情況下會生成隨機密鑰

#SECURITY OAUTH2 RESOURCES(ResourceServerProperties
security.oauth2.resource.id =#資源的標(biāo)識符。
security.oauth2.resource.jwt.key-uri =#JWT令牌的URI滑潘。如果值不可用并且密鑰為public垢乙,則可以設(shè)置。
security.oauth2.resource.jwt.key-value =#JWT令牌的驗證密鑰语卤∽反可以是對稱秘密或PEM編碼的RSA公鑰。
security.oauth2.resource.prefer-token-info = true #使用令牌info粹舵,可以設(shè)置為false來使用用戶信息钮孵。
security.oauth2.resource.service-id = resource #
security.oauth2.resource.token-info-uri =#令牌解碼端點的URI。
security.oauth2.resource.token-type =#使用userInfoUri時要發(fā)送的令牌類型眼滤。
security.oauth2.resource.user-info-uri =#用戶端點的URI巴席。

#SECURITY OAUTH2 SSO(OAuth2SsoProperties
security.oauth2.sso.filter-order =#如果未提供明確的WebSecurityConfigurerAdapter,則應(yīng)用過濾順序
security.oauth2.sso.login-path = / login#登錄頁面的路徑诅需,即觸發(fā)重定向到OAuth2授權(quán)服務(wù)器的路徑

#----------------------------------------
#數(shù)據(jù)屬性
#----------------------------------------

#FLYWAY(FlywayProperties)
flyway.baseline-description =#
flyway.baseline-version = 1 #版本開始遷移
flyway.baseline-on-migrate =#
flyway.check-location = false #檢查遷移腳本位置是否存在漾唉。
flyway.clean-on-validation-error =#
flyway.enabled = true #啟用flyway 。
flyway.encoding =#
flyway.ignore-failed-future-migration =#
flyway.init-sqls =#在獲取連接后立即執(zhí)行初始化連接的SQL語句堰塌。
flyway.locations = classpath:db / migration#遷移腳本的位置
flyway.out-of-order =#
flyway.password =#JDBC密碼赵刑,如果你想讓Flyway創(chuàng)建自己的DataSource
flyway.placeholder-prefix =#
flyway.placeholder-replacement =#
flyway.placeholder-suffix =#
flyway.placeholders。* =#
flyway.schemas =#schemas要更新
flyway.sql-migration-prefix = V #
flyway.sql-migration-separator =#
flyway.sql-migration-suffix = .sql#
flyway.table =#
flyway.url =#要遷移的數(shù)據(jù)庫的JDBC URL场刑。如果未設(shè)置般此,則使用主配置的數(shù)據(jù)源。
flyway.user =#要遷移的數(shù)據(jù)庫的登錄用戶牵现。
flyway.validate-on-migrate =#

#LIQUIBASE(LiquibaseProperties)
liquibase.change-log = classpath :/db/changelog/db.changelog-master.yaml#更改日志配置路徑恤煞。
liquibase.check-change-log-location = true #檢查更改日志位置是否存在。
liquibase.contexts =#要使用的運行時上下文的逗號分隔列表施籍。
liquibase.default-schema =#默認數(shù)據(jù)庫模式居扒。
liquibase.drop-first = false #刪除數(shù)據(jù)庫模式。
liquibase.enabled = true #啟用liquibase支持丑慎。
liquibase.labels =#要使用的運行時標(biāo)簽的逗號分隔列表喜喂。
liquibase.parameters瓤摧。* =#更改日志參數(shù)。
liquibase.password =#要遷移的數(shù)據(jù)庫的登錄密碼玉吁。
liquibase.url =#要遷移的數(shù)據(jù)庫的JDBC URL照弥。如果未設(shè)置,則使用主配置的數(shù)據(jù)源进副。
liquibase.user =#要遷移的數(shù)據(jù)庫的登錄用戶这揣。

#DAO(PersistenceExceptionTranslationAutoConfiguration)
spring.dao.exceptiontranslation.enabled = true #啟用PersistenceExceptionTranslationPostProcessor。

#CASSANDRA(Cassandra屬性)
spring.data.cassandra.cluster-name =#Cassandra集群的名稱影斑。
spring.data.cassandra.compression =#Cassandra二進制協(xié)議支持的壓縮给赞。
spring.data.cassandra.connect-timeout-millis =#套接字選項:連接超時。
spring.data.cassandra.consistency-level =#查詢一致性級別矫户。
spring.data.cassandra.contact-points = localhost #群集節(jié)點地址的逗號分隔列表片迅。
spring.data.cassandra.fetch-size =#查詢默認抓取大小。
spring.data.cassandra.keyspace-name =#要使用的鍵空間名稱皆辽。
spring.data.cassandra.load-balancing-policy =#負載均衡策略的類名稱柑蛇。
spring.data.cassandra.port =#Cassandra服務(wù)器的端口。
spring.data.cassandra.password =#服務(wù)器的登錄密碼驱闷。
spring.data.cassandra.read-timeout-millis =#Socket選項:讀取超時耻台。
spring.data.cassandra.reconnection-policy =#重新連接策略類。
spring.data.cassandra.retry-policy =#重試策略的類名空另。
spring.data.cassandra.serial-consistency-level =#查詢串行一致性級別粘我。
spring.data.cassandra.ssl = false #啟用SSL支持。
spring.data.cassandra.username =#服務(wù)器的登錄用戶痹换。

#ELASTICSEARCH(ElasticsearchProperties)
spring.data.elasticsearch.cluster-name = elasticsearch #Elasticsearch集群名稱征字。
spring.data.elasticsearch.cluster-nodes =#群集節(jié)點地址的逗號分隔列表。如果未指定娇豫,則啟動客戶機節(jié)點匙姜。
spring.data.elasticsearch.properties。* =#用于配置客戶端的其他屬性冯痢。
spring.data.elasticsearch.repositories.enabled = true #啟用Elasticsearch存儲庫氮昧。

#MONGODB(MongoProperties)
spring.data.mongodb.authentication-database =#認證數(shù)據(jù)庫名稱。
spring.data.mongodb.database = test #數(shù)據(jù)庫名稱浦楣。
spring.data.mongodb.field命名策略 =#要使用的FieldNamingStrategy的完全限定名稱袖肥。
spring.data.mongodb.grid-fs-database =#GridFS數(shù)據(jù)庫名稱。
spring.data.mongodb.host = localhost #Mongo服務(wù)器主機振劳。
spring.data.mongodb.password =#mongo服務(wù)器的登錄密碼椎组。
spring.data.mongodb.port = 27017 #Mongo服務(wù)器端口。
spring.data.mongodb.repositories.enabled = true #啟用Mongo存儲庫历恐。
spring.data.mongodb.uri = mongodb :// localhost / test#Mongo數(shù)據(jù)庫URI寸癌。設(shè)置時专筷,將忽略主機和端口。
spring.data.mongodb.username =#mongo服務(wù)器的登錄用戶蒸苇。

#DATA REST(RepositoryRestProperties)
spring.data.rest.base-path =#Spring Data REST用于公開資源庫資源的基本路徑磷蛹。
spring.data.rest.default-page-size =#默認的頁面大小。
spring.data.rest.enable-enum-translation =#通過Spring Data REST默認資源包啟用枚舉值轉(zhuǎn)換溪烤。
spring.data.rest.limit-param-name =#URL查詢字符串參數(shù)的名稱味咳,指示一次返回的結(jié)果數(shù)。
spring.data.rest.max-page-size =#最大頁面大小檬嘀。
spring.data.rest.page-param-name =#指示要返回哪個頁面的URL查詢字符串參數(shù)的名稱槽驶。
spring.data.rest.return-body-on-create =#創(chuàng)建實體后返回響應(yīng)體。
spring.data.rest.return-body-on-update =#更新實體后返回響應(yīng)體枪眉。
spring.data.rest.sort-param-name =#URL查詢字符串參數(shù)的名稱,指示對結(jié)果進行排序的方向再层。

#SOLR(SolrProperties)
spring.data.solr.host = HTTP ://127.0.0.1:8983 / Solr的#Solr的主機贸铜。如果設(shè)置了“zk-host”,則忽略聂受。
spring.data.solr.repositories.enabled = true #啟用Solr存儲庫蒿秦。
spring.data.solr.zk-host =#ZooKeeper主機地址,格式為HOST:PORT蛋济。

#DATASOURCE(DataSourceAutoConfiguration&DataSourceProperties)
spring.datasource.continue-on-error = false #初始化數(shù)據(jù)庫時發(fā)生錯誤時不要停止棍鳖。
spring.datasource.data =#Data(DML)腳本資源引用。
spring.datasource.driver-class-name =#JDBC驅(qū)動程序的標(biāo)準名稱碗旅。默認情況下基于URL自動檢測渡处。
spring.datasource.initialize = true #使用'data.sql'填充數(shù)據(jù)庫。
spring.datasource.jmx-enabled = false #啟用JMX支持(如果由底層池提供)祟辟。
spring.datasource.jndi-name =#JNDI數(shù)據(jù)源的位置医瘫。類,url旧困,用戶名和密碼設(shè)置時將被忽略醇份。
spring.datasource.max-active =#例如100
spring.datasource.max-idle =#例8
spring.datasource.max-wait =
spring .datasource.min-evictable-idle-time-millis =
spring .datasource.min-idle = 8
spring.datasource.name = testdb #數(shù)據(jù)源的名稱。
spring.datasource.password =#數(shù)據(jù)庫的登錄密碼吼具。
spring.datasource.platform = all #在模式資源(schema - $ {platform} .sql)中使用的平臺僚纷。
spring.datasource.schema =#模式(DDL)腳本資源引用。
spring.datasource.separator =; #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 =#要使用的連接池實現(xiàn)的完全限定名稱。默認情況下陡蝇,它是從類路徑自動檢測侵状。
spring.datasource.url =#數(shù)據(jù)庫的JDBC url赞弥。
spring.datasource.username =
spring .datasource.validation-query =

#H2 Web控制臺(H2ConsoleProperties)
spring.h2.console.enabled = false #啟用控制臺。
spring.h2.console.path = / h2-consoleHば郑控制臺可用的路徑绽左。

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

#JPA(JpaBaseConfiguration艇潭,HibernateJpaAutoConfiguration)
spring.data.jpa.repositories.enabled = true #啟用JPA存儲庫拼窥。
spring.jpa.database =#要操作的目標(biāo)數(shù)據(jù)庫,默認情況下自動檢測蹋凝。也可以使用“databasePlatform”屬性進行設(shè)置鲁纠。
spring.jpa.database-platform =#要操作的目標(biāo)數(shù)據(jù)庫的名稱,默認情況下自動檢測鳍寂「暮可以選擇使用“數(shù)據(jù)庫”設(shè)置枚舉。
spring.jpa.generate-ddl = false #在啟動時初始化模式迄汛。
spring.jpa.hibernate.ddl-auto =#DDL模式捍壤。這實際上是“hibernate.hbm2ddl.auto”屬性的快捷方式。使用嵌入式數(shù)據(jù)庫時鞍爱,默認為“create-drop”鹃觉,否則為“none”。
spring.jpa.hibernate.naming-strategy =#命名策略完全限定名睹逃。
spring.jpa.open-in-view = true #注冊O(shè)penEntityManagerInViewInterceptor盗扇。將JPA EntityManager綁定到線程以進行請求的整個處理。
spring.jpa.properties沉填。* =#在JPA提供程序上設(shè)置的其他本機屬性疗隶。
spring.jpa.show-sql = false #啟用SQL語句的日志記錄。

#JTA(JtaAutoConfiguration)
spring.jta翼闹。* =#技術(shù)特定配置
spring.jta.log-dir =#事務(wù)日志目錄抽减。

#ATOMIKOS
spring.jta.atomikos.connectionfactory.borrow-connection-timeout = 30 #從池借用連接的超時(以秒為單位)。
spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag = true #創(chuàng)建會話時是否忽略事務(wù)標(biāo)志橄碾。
spring.jta.atomikos.connectionfactory.local-transaction-mode = false #是否需要本地事務(wù)卵沉。
spring.jta.atomikos.connectionfactory.maintenance-interval = 60 #池維護線程運行之間的時間(以秒為單位)。
spring.jta.atomikos.connectionfactory.max-idle-time = 60 #從池中清除連接的時間(以秒為單位)法牲。
spring.jta.atomikos.connectionfactory.max-lifetime = 0 #連接在被銷毀之前可以被合并的時間(以秒為單位)史汗。0表示無限制。
spring.jta.atomikos.connectionfactory.max-pool-size = 1 #池的最大大小拒垃。
spring.jta.atomikos.connectionfactory.min-pool-size = 1 #池的最小大小停撞。
spring.jta.atomikos.connectionfactory.reap-timeout = 0 #借用連接的收集超時(以秒為單位)。0表示無限制。
spring.jta.atomikos.connectionfactory.unique-resource-name = jmsConnectionFactory #用于在恢復(fù)期間標(biāo)識資源的唯一名稱戈毒。
spring.jta.atomikos.datasource.borrow-connection-timeout = 30 #從池借用連接的超時(以秒為單位)艰猬。
spring.jta.atomikos.datasource.default-isolation-level =#池提供的連接的默認隔離級別。
spring.jta.atomikos.datasource.login-timeout =#建立數(shù)據(jù)庫連接的超時(以秒為單位)埋市。
spring.jta.atomikos.datasource.maintenance-interval = 60 #池維護線程運行之間的時間(以秒為單位)冠桃。
spring.jta.atomikos.datasource.max-idle-time = 60 #從池中清除連接的時間(以秒為單位)。
spring.jta.atomikos.datasource.max-lifetime = 0 #連接在被銷毀之前可以被合并的時間(以秒為單位)道宅。0表示無限制食听。
spring.jta.atomikos.datasource.max-pool-size = 1 #池的最大大小。
spring.jta.atomikos.datasource.min-pool-size = 1 #池的最小大小污茵。
spring.jta.atomikos.datasource.reap-timeout = 0 #借用連接的收集超時(以秒為單位)樱报。0表示無限制。
spring.jta.atomikos.datasource.test-query =#用于在返回連接之前驗證連接的SQL查詢或語句泞当。
spring.jta.atomikos.datasource.unique-resource-name = dataSource #用于在恢復(fù)期間標(biāo)識資源的唯一名稱迹蛤。

#BITRONIX
spring.jta.bitronix.connectionfactory.acquire-increment = 1 #增加池時創(chuàng)建的連接數(shù)。
spring.jta.bitronix.connectionfactory.acquisition-interval = 1 #在獲取無效連接后再次嘗試獲取連接之前等待的時間(以秒為單位)襟士。
spring.jta.bitronix.connectionfactory.acquisition-timeout = 30 #從池中獲取連接的超時(以秒為單位)盗飒。
spring.jta.bitronix.connectionfactory.allow-local-transactions = true #事務(wù)管理器是否應(yīng)該允許混合XA和非XA事務(wù)。
spring.jta.bitronix.connectionfactory.apply-transaction-timeout = false #是否應(yīng)該在登記時在XAResource上設(shè)置事務(wù)超時敌蜂。
spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled = true #資源是否應(yīng)自動注冊和刪除箩兽。
spring.jta.bitronix.connectionfactory.cache-producers-consumers = true #是否生產(chǎn)和消費者應(yīng)該被緩存津肛。
spring.jta.bitronix.connectionfactory.defer-connection-release = true #提供程序是否可以在同一連接上運行多個事務(wù)章喉,并支持事務(wù)交叉。
spring.jta.bitronix.connectionfactory.ignore-recovery-failures = false #是否應(yīng)該忽略恢復(fù)失敗身坐。
spring.jta.bitronix.connectionfactory.max-idle-time = 60 #從池中清除連接的時間(以秒為單位)秸脱。
spring.jta.bitronix.connectionfactory.max-pool-size = 10 #池的最大大小。0表示無限制部蛇。
spring.jta.bitronix.connectionfactory.min-pool-size = 0 #池的最小大小摊唇。
spring.jta.bitronix.connectionfactory.password =#用于連接到JMS提供程序的密碼。
spring.jta.bitronix.connectionfactory.share-transaction-connections = false #是否可以在事務(wù)上下文中共享處于ACCESSIBLE狀態(tài)的連接涯鲁。
spring.jta.bitronix.connectionfactory.test-connections = true #從池中獲取連接時是否應(yīng)該進行測試巷查。
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)識資源的唯一名稱岛请。
spring.jta.bitronix.connectionfactory.use-tm-join = true 啟動XAResources時是否應(yīng)使用TMJOIN。
spring.jta.bitronix.connectionfactory.user =#用于連接到JMS提供程序的用戶警绩。
spring.jta.bitronix.datasource.acquire-increment = 1 #增加池時創(chuàng)建的連接數(shù)崇败。
spring.jta.bitronix.datasource.acquisition-interval = 1 #在獲取無效連接后再次嘗試獲取連接之前等待的時間(以秒為單位)。
spring.jta.bitronix.datasource.acquisition-timeout = 30 #從池中獲取連接的超時(以秒為單位)。
spring.jta.bitronix.datasource.allow-local-transactions = true #事務(wù)管理器是否應(yīng)允許混合XA和非XA事務(wù)后室。
spring.jta.bitronix.datasource.apply-transaction-timeout = false #是否應(yīng)該在登記時在XAResource上設(shè)置事務(wù)超時缩膝。
spring.jta.bitronix.datasource.automatic-enlisting-enabled = true #資源是否應(yīng)自動注冊和刪除。
spring.jta.bitronix.datasource.cursor-holdability =#連接的默認游標(biāo)保留能力岸霹。
spring.jta.bitronix.datasource.defer-connection-release = true #數(shù)據(jù)庫是否可以在同一連接上運行多個事務(wù)疾层,并支持事務(wù)交叉。
spring.jta.bitronix.datasource.enable-jdbc4-connection-test =#從池中獲取連接時是否調(diào)用Connection.isValid()松申。
spring.jta.bitronix.datasource.ignore-recovery-failures = false #是否應(yīng)該忽略恢復(fù)失敗云芦。
spring.jta.bitronix.datasource.isolation-level =#連接的默認隔離級別。
spring.jta.bitronix.datasource.local-auto-commit =#本地事務(wù)的默認自動提交模式贸桶。
spring.jta.bitronix.datasource.login-timeout =#建立數(shù)據(jù)庫連接的超時(以秒為單位)舅逸。
spring.jta.bitronix.datasource.max-idle-time = 60 #從池中清除連接的時間(以秒為單位)。
spring.jta.bitronix.datasource.max-pool-size = 10 #池的最大大小皇筛。0表示無限制琉历。
spring.jta.bitronix.datasource.min-pool-size = 0 #池的最小大小。
spring.jta.bitronix.datasource.prepared-statement-cache-size = 0 #預(yù)準備語句緩存的目標(biāo)大小水醋。0禁用高速緩存旗笔。
spring.jta.bitronix.datasource.share-transaction-connections = false #是否可以在事務(wù)上下文中共享處于ACCESSIBLE狀態(tài)的連接。
spring.jta.bitronix.datasource.test-query =#用于在返回連接之前驗證連接的SQL查詢或語句拄踪。
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)識資源的唯一名稱惶桐。
spring.jta.bitronix.datasource.use-tm-join = true 啟動XAResources時是否應(yīng)使用TMJOIN撮弧。

#EMBEDDED MONGODB(EmbeddedMongoProperties)
spring.mongodb.embedded.features = SYNC_DELAY #要啟用的功能的逗號分隔列表。
spring.mongodb.embedded.version = 2 .6.10#使用Mongo的版本姚糊。

#REDIS(RedisProperties)
spring.redis.database = 0 #連接工廠使用的數(shù)據(jù)庫索引贿衍。
spring.redis.host = localhost #Redis服務(wù)器主機。
spring.redis.password =#redis服務(wù)器的登錄密碼救恨。
spring.redis.pool.max-active = 8 #池在給定時間可以分配的最大連接數(shù)贸辈。使用負值無限制。
spring.redis.pool.max-idle = 8 #池中“空閑”連接的最大數(shù)量肠槽。使用負值來表示無限數(shù)量的空閑連接擎淤。
spring.redis.pool.max-wait = -1#在池耗盡時拋出異常之前,連接分配應(yīng)阻止的最大時間量(以毫秒為單位)秸仙。使用負值無限期地阻止嘴拢。
spring.redis.pool.min-idle = 0 #要在池中維護的空閑連接的最小數(shù)目的目標(biāo)。此設(shè)置僅當(dāng)其為正時才具有效果筋栋。
spring.redis.port = 6379 #Redis服務(wù)器端口炊汤。
spring.redis.sentinel.master =#Redis服務(wù)器的名稱。
spring.redis.sentinel.nodes =#主機:端口對的逗號分隔列表。
spring.redis.timeout = 0 #連接超時抢腐,以毫秒為單位姑曙。

#----------------------------------------
#集成屬性
#----------------------------------------

#ACTIVEMQ(ActiveMQProperties)
spring.activemq.broker-url =#ActiveMQ代理的URL。默認情況下自動生成迈倍。例如tcp:// localhost:61616
spring.activemq.in-memory = true #指定默認代理URL是否應(yīng)該在內(nèi)存中伤靠。如果指定了顯式代理,則忽略啼染。
spring.activemq.password =#代理的登錄密碼宴合。
spring.activemq.pooled = false #指定是否應(yīng)創(chuàng)建PooledConnectionFactory而不是常規(guī)ConnectionFactory。
spring.activemq.user =#代理的登錄用戶迹鹅。

#ARTEMIS(ArtemisProperties)
spring.artemis.embedded.cluster-password =#集群密碼卦洽。默認情況下,在啟動時隨機生成斜棚。
spring.artemis.embedded.data-directory =#日志文件目錄阀蒂。如果持久性已關(guān)閉,則不需要弟蚀。
spring.artemis.embedded.enabled = true #如果Artemis服務(wù)器API可用蚤霞,則啟用嵌入模式。
spring.artemis.embedded.persistent = false #啟用持久存儲义钉。
spring.artemis.embedded.queues =#在啟動時創(chuàng)建的逗號分隔的隊列列表昧绣。
spring.artemis.embedded.server-id =#服務(wù)器ID。默認情況下捶闸,使用自動遞增計數(shù)器夜畴。
spring.artemis.embedded.topics =#啟動時創(chuàng)建的逗號分隔的主題列表。
spring.artemis.host = localhost #Artemis代理主機鉴嗤。
spring.artemis.mode =#Artemis部署模式斩启,默認情況下自動檢測序调∽砉可以顯式設(shè)置為“本機”或“嵌入”。
spring.artemis.port = 61616 #Artemis代理端口发绢。

#SPRING BATCH(BatchProperties)
spring.batch.initializer.enabled = true #如果需要硬耍,在啟動時創(chuàng)建所需的批處理表。
spring.batch.job.enabled = true #在啟動時在上下文中執(zhí)行所有Spring Batch作業(yè)边酒。
spring.batch.job.names =#在啟動時執(zhí)行的作業(yè)名的逗號分隔列表(例如job1经柴,job2)。默認情況下墩朦,在上下文中找到的所有作業(yè)都將被執(zhí)行坯认。
spring.batch.schema = classpath :org / springframework / batch / core / schema - @@ platform @@。sql#用于初始化數(shù)據(jù)庫模式的SQL文件的路徑绍些。
spring.batch.table-prefix =#所有批次元數(shù)據(jù)表的表前綴滤祖。

#HORNETQ(HornetQProperties)
spring.hornetq.embedded.cluster-password =#群集密碼。默認情況下迫筑,在啟動時隨機生成引润。
spring.hornetq.embedded.data-directory =#日志文件目錄巩趁。如果持久性已關(guān)閉,則不需要淳附。
spring.hornetq.embedded.enabled = true #如果HornetQ服務(wù)器API可用议慰,則啟用嵌入模式。
spring.hornetq.embedded.persistent = false #啟用持久存儲奴曙。
spring.hornetq.embedded.queues =#在啟動時創(chuàng)建的逗號分隔的隊列列表别凹。
spring.hornetq.embedded.server-id =#服務(wù)器ID。默認情況下洽糟,使用自動遞增計數(shù)器番川。
spring.hornetq.embedded.topics =#啟動時創(chuàng)建的逗號分隔的主題列表。
spring.hornetq.host = localhost #HornetQ代理主機脊框。
spring.hornetq.mode =#HornetQ部署模式颁督,默認情況下自動檢測〗奖ⅲ可以顯式設(shè)置為“本機”或“嵌入”沉御。
spring.hornetq.port = 5445 #HornetQ代理端口。

#JMS(JmsProperties)
spring.jms.jndi-name =#連接工廠JNDI名稱昭灵。設(shè)置時吠裆,優(yōu)先于其他連接工廠自動配置。
spring.jms.listener.acknowledge-mode =#確認容器的模式烂完。默認情況下试疙,偵聽器使用自動確認進行處理。
spring.jms.listener.auto-startup = true #在啟動時自動啟動容器抠蚣。
spring.jms.listener.concurrency =#最小并發(fā)消費者數(shù)祝旷。
spring.jms.listener.max-concurrency =#最大并發(fā)消費者數(shù)。
spring.jms.pub-sub-domain = false #指定默認目標(biāo)類型是否為主題嘶窄。

#RABBIT(RabbitProperties)
spring.rabbitmq.addresses =;初耍客戶端應(yīng)連接到的地址的逗號分隔列表。
spring.rabbitmq.dynamic = true #創(chuàng)建一個AmqpAdmin bean柄冲。
spring.rabbitmq.host = localhost #RabbitMQ主機吻谋。
spring.rabbitmq.listener.acknowledge-mode =#確認容器的模式。
spring.rabbitmq.listener.auto-startup = true #在啟動時自動啟動容器现横。
spring.rabbitmq.listener.concurrency =#最小消費者數(shù)漓拾。
spring.rabbitmq.listener.max-concurrency =#最大消費者數(shù)阁最。
spring.rabbitmq.listener.prefetch =#在單個請求中處理的消息數(shù)。它應(yīng)該大于或等于事務(wù)大泻Я健(如果使用)闽撤。
spring.rabbitmq.listener.transaction-size =#要在事務(wù)中處理的消息數(shù)。為了獲得最佳結(jié)果脯颜,它應(yīng)小于或等于預(yù)取計數(shù)哟旗。
spring.rabbitmq.password =#登錄以對代理進行身份驗證。
spring.rabbitmq.port = 5672 #RabbitMQ端口栋操。
spring.rabbitmq.requested-heartbeat =#請求的心跳超時闸餐,以秒為單位; 零為零。
spring.rabbitmq.ssl.enabled = false #啟用SSL支持矾芙。
spring.rabbitmq.ssl.key-store =#包含SSL證書的密鑰庫的路徑舍沙。
spring.rabbitmq.ssl.key-store-password =#用于訪問密鑰庫的密碼。
spring.rabbitmq.ssl.trust-store =#持有SSL證書的信任存儲剔宪。
spring.rabbitmq.ssl.trust-store-password =#用于訪問信任存儲庫的密碼拂铡。
spring.rabbitmq.username =#登錄用戶以對代理進行身份驗證。
spring.rabbitmq.virtual-host =#連接到代理時要使用的虛擬主機葱绒。

#----------------------------------------
#執(zhí)行器特性
#----------------------------------------

#ENDPOINTS(AbstractEndpoint subclasses)
endpoints.enabled = true #啟用端點感帅。
endpoints.sensitive =#默認端點敏感設(shè)置。
endpoints.actuator.enabled = true #啟用端點地淀。
endpoints.actuator.path =#端點URL路徑失球。
endpoints.actuator.sensitive = false #在端點上啟用安全性。
endpoints.autoconfig.enabled =#啟用端點帮毁。
endpoints.autoconfig.id =#端點標(biāo)識符实苞。
endpoints.autoconfig.sensitive =#標(biāo)記端點是否暴露敏感信息。
endpoints.beans.enabled =#啟用端點烈疚。
endpoints.beans.id =#端點標(biāo)識符黔牵。
endpoints.beans.sensitive =#標(biāo)記端點是否暴露敏感信息。
endpoints.configprops.enabled =#啟用端點爷肝。
endpoints.configprops.id =#終端標(biāo)識符猾浦。
endpoints.configprops.keys-to-sanitize = password ,secret阶剑,key跃巡,危号。* credentials牧愁。,vcap_services#應(yīng)該進行清理的密鑰外莲。鍵可以是屬性結(jié)尾的簡單字符串或正則表達式猪半。
endpoints.configprops.sensitive =#標(biāo)記端點是否暴露敏感信息兔朦。
endpoints.docs.curies.enabled = false #啟用居里生成。
endpoints.docs.enabled = true #啟用執(zhí)行器docs端點磨确。
endpoints.docs.path = / docs#
endpoints.docs.sensitive = false #
endpoints.dump.enabled =#啟用端點沽甥。
endpoints.dump.id =#端點標(biāo)識符。
endpoints.dump.sensitive =#標(biāo)記端點是否暴露敏感信息乏奥。
endpoints.env.enabled =#啟用端點摆舟。
endpoints.env.id =#端點標(biāo)識符。
endpoints.env.keys-to-sanitize = password 邓了,secret恨诱,key,骗炉。
credentials照宝。,vcap_services#應(yīng)該清理的密鑰句葵。鍵可以是屬性結(jié)尾的簡單字符串或正則表達式厕鹃。
endpoints.env.sensitive =#標(biāo)記端點是否暴露敏感信息。
endpoints.flyway.enabled =#啟用端點乍丈。
endpoints.flyway.id =#端點標(biāo)識符剂碴。
endpoints.flyway.sensitive =#標(biāo)記端點是否暴露敏感信息。
endpoints.health.enabled =#啟用端點轻专。
endpoints.health.id =#端點標(biāo)識符汗茄。
endpoints.health.mapping。
=#將健康狀態(tài)映射到HttpStatus代碼铭若。默認情況下洪碳,注冊的健康狀態(tài)映射到明智的默認值(即UP映射到200)。
endpoints.health.sensitive =#標(biāo)記端點是否暴露敏感信息叼屠。
endpoints.health.time-to-live = 1000 #緩存結(jié)果的生存時間(以毫秒為單位)瞳腌。
endpoints.info.enabled =#啟用端點。
endpoints.info.id =#端點標(biāo)識符镜雨。
endpoints.info.sensitive =#標(biāo)記端點是否暴露敏感信息嫂侍。
endpoints.jolokia.enabled = true #啟用Jolokia端點。
endpoints.jolokia.path = / jolokia#端點URL路徑荚坞。
endpoints.jolokia.sensitive = true #在端點上啟用安全性挑宠。
endpoints.liquibase.enabled =#啟用端點。
endpoints.liquibase.id =#端點標(biāo)識符颓影。
endpoints.liquibase.sensitive =#標(biāo)記端點是否暴露敏感信息各淀。
endpoints.logfile.enabled = true #啟用端點。
endpoints.logfile.path = / logfile#端點URL路徑诡挂。
endpoints.logfile.sensitive = true #在端點上啟用安全性碎浇。
endpoints.mappings.enabled =#啟用端點临谱。
endpoints.mappings.id =#端點標(biāo)識符。
endpoints.mappings.sensitive =#標(biāo)記端點是否暴露敏感信息奴璃。
endpoints.metrics.enabled =#啟用端點悉默。
endpoints.metrics.filter.enabled = true #啟用metrics servlet篩選器。
endpoints.metrics.id =#端點標(biāo)識符苟穆。
endpoints.metrics.sensitive =#標(biāo)記端點是否暴露敏感信息抄课。
endpoints.shutdown.enabled =#啟用端點。
endpoints.shutdown.id =#端點標(biāo)識符雳旅。
endpoints.shutdown.sensitive =#標(biāo)記端點是否暴露敏感信息剖膳。
endpoints.trace.enabled =#啟用端點。
endpoints.trace.id =#端點標(biāo)識符岭辣。
endpoints.trace.sensitive =#標(biāo)記端點是否暴露敏感信息吱晒。

#ENDPOINTS CORS CONFIGURATION(EndpointCorsProperties)
endpoints.cors.allow-credentials =#設(shè)置是否支持憑證。未設(shè)置時沦童,不支持憑據(jù)仑濒。
endpoints.cors.allowed-headers =#在請求中允許的逗號分隔的標(biāo)頭列表。''允許所有頭偷遗。
endpoints.cors.allowed-methods = GET #允許的逗號分隔的方法列表墩瞳。'
'允許所有方法。
endpoints.cors.allowed-origins =#允許的逗號分隔的起始列表氏豌。'*'允許所有起源喉酌。未設(shè)置時,禁用CORS支持泵喘。
endpoints.cors.exposed-headers =#要在響應(yīng)中包含的標(biāo)頭的逗號分隔列表泪电。
endpoints.cors.max-age = 1800 #客戶端可以緩存來自預(yù)先請求的響應(yīng)的緩存時間(秒)纪铺。

#JMX ENDPOINT(EndpointMBeanExportProperties)
endpoints.jmx.domain =#JMX域名相速。如果設(shè)置,則使用'spring.jmx.default-domain'的值初始化鲜锚。
endpoints.jmx.enabled = true #啟用所有端點的JMX導(dǎo)出突诬。
endpoints.jmx.static-names =#附加到表示端點的MBeans的所有ObjectNames的附加靜態(tài)屬性。
endpoints.jmx.unique-names = false #確保在沖突的情況下修改ObjectName芜繁。

#JOLOKIA(JolokiaProperties)
jolokia.config旺隙。* =#請參閱Jolokia手冊

#MANAGEMENT HTTP SERVER(ManagementServerProperties)
management.add-application-context-header = true #在每個響應(yīng)中添加“X-Application-Context”HTTP頭。
management.address =#管理端點應(yīng)綁定的網(wǎng)絡(luò)地址骏令。
management.context-path =#管理端點上下文路徑蔬捷。例如`/ actuator'
management.port =#管理端點HTTP端口。默認情況下伏社,使用與應(yīng)用程序相同的端口抠刺。
management.security.enabled = true #啟用安全性塔淤。
management.security.role = ADMIN #訪問管理端點所需的角色摘昌。
management.security.sessions = stateless #會話創(chuàng)建要使用的策略(始終速妖,永遠,if_required聪黎,無狀態(tài))罕容。

#健康指數(shù)(以前的健康。*)
management.health.db.enabled = true #啟用數(shù)據(jù)庫運行狀況檢查稿饰。
management.health.defaults.enabled = true #啟用默認運行狀況指示器锦秒。
management.health.diskspace.enabled = true #啟用磁盤空間運行狀況檢查。
management.health.diskspace.path =#用于計算可用磁盤空間的路徑喉镰。
management.health.diskspace.threshold = 0 #應(yīng)該可用的最小磁盤空間(以字節(jié)為單位)旅择。
management.health.elasticsearch.enabled = true #啟用elasticsearch運行狀況檢查。
management.health.elasticsearch.indices =#逗號分隔的索引名稱侣姆。
management.health.elasticsearch.response-timeout = 100 #等待集群響應(yīng)的時間(以毫秒為單位)生真。
management.health.jms.enabled = true #啟用JMS運行狀況檢查。
management.health.mail.enabled = true #啟用郵件運行狀況檢查捺宗。
management.health.mongo.enabled = true #啟用MongoDB運行狀況檢查柱蟀。
management.health.rabbit.enabled = true #啟用RabbitMQ運行狀況檢查。
management.health.redis.enabled = true #啟用Redis運行狀況檢查蚜厉。
management.health.solr.enabled = true #啟用Solr運行狀況檢查长已。
management.health.status.order = DOWN ,OUT_OF_SERVICE昼牛,UNKNOWN术瓮,UP#按嚴重性順序列出健康狀態(tài)的逗號分隔列表。

#TRACING((TraceProperties)
management.trace.include = request -headers贰健,response-headers斤斧,errors#要包括在跟蹤中的項目。

#遙控器
shell.auth = simple #認證類型霎烙。根據(jù)環(huán)境自動檢測撬讽。
shell.auth.jaas.domain = my -domain#JAAS域。
shell.auth.key.path =#認證密鑰的路徑悬垃。這應(yīng)該指向一個有效的“.pem”文件游昼。
shell.auth.simple.user.name = user #登錄用戶。
shell.auth.simple.user.password =#登錄密碼尝蠕。
shell.auth.spring.roles = ADMIN #登錄到CRaSH控制臺的必需角色的逗號分隔列表烘豌。
shell.command-path-patterns = classpath *:/ commands / **,classpath *:/ crash / commands / **#用于查找命令的模式看彼。
shell.command-refresh-interval = -1#掃描更改并在必要時更新命令(以秒為單位)廊佩。
shell.config-path-patterns = classpath *:/ crash / *#用于查找配置的模式囚聚。
shell.disabled-commands = jpa *,jdbc *标锄,jndi *#禁用的逗號分隔的命令列表顽铸。
shell.disabled-plugins =#禁用的逗號分隔的插件列表。某些插件根據(jù)環(huán)境默認禁用料皇。
shell.ssh.auth-timeout =#用戶將被提示再次登錄的毫秒數(shù)谓松。
shell.ssh.enabled = true #啟用CRaSH SSH支持。
shell.ssh.idle-timeout =#未使用的連接關(guān)閉之前的毫秒數(shù)践剂。
shell.ssh.key-path =#SSH服務(wù)器密鑰的路徑鬼譬。
shell.ssh.port = 2000 #SSH端口。
shell.telnet.enabled = false #啟用CRaSH telnet支持逊脯。如果TelnetPlugin可用优质,默認情況下啟用。
shell.telnet.port = 5000 #Telnet端口军洼。

#GIT INFO
spring.git.properties =#對生成的git信息屬性文件的資源引用巩螃。

#METRICS EXPORT(MetricExportProperties)
spring.metrics.export.aggregate.key-pattern =#告訴聚合器如何處理源存儲庫中的鍵的模式。
spring.metrics.export.aggregate.prefix =#如果處于活動狀態(tài)歉眷,則為全局存儲庫的前綴牺六。
spring.metrics.export.delay-millis = 5000 #導(dǎo)出ticks之間的延遲(以毫秒為單位)。度量標(biāo)準將按照此延遲的計劃導(dǎo)出到外部源汗捡。
spring.metrics.export.enabled = true #標(biāo)記以啟用度量導(dǎo)出(假設(shè)MetricWriter可用)淑际。
spring.metrics.export.excludes =#要排除的指標(biāo)名稱的模式列表。應(yīng)用后包括扇住。
spring.metrics.export.includes =#要包括的指標(biāo)名稱的模式列表春缕。
spring.metrics.export.redis.key = keys .spring.metrics#redis存儲庫導(dǎo)出的鍵(如果為活動狀態(tài))。
spring.metrics.export.redis.prefix = spring .metrics#redis存儲庫的前綴(如果活動)艘蹋。
spring.metrics.export.send-latest =#根據(jù)不導(dǎo)出不變的度量標(biāo)準值锄贼,關(guān)閉任何可用的優(yōu)化。
spring.metrics.export.statsd.host =#接收導(dǎo)出指標(biāo)的statsd服務(wù)器的主機女阀。
spring.metrics.export.statsd.port = 8125 #用于接收導(dǎo)出指標(biāo)的statsd服務(wù)器的端口宅荤。
spring.metrics.export.statsd.prefix =#statsd導(dǎo)出的指標(biāo)的前綴。
spring.metrics.export.triggers浸策。* =#每個MetricWriter bean名稱的特定觸發(fā)器屬性冯键。

#----------------------------------------
#DEVTOOLS PROPERTIES
#----------------------------------------

#DEVTOOLS(DevToolsProperties)
spring.devtools.livereload.enabled = true #啟用livereload.com兼容的服務(wù)器。
spring.devtools.livereload.port = 35729 #服務(wù)器端口庸汗。
spring.devtools.restart.additional-exclude =#應(yīng)該排除觸發(fā)完全重新啟動的其他模式惫确。
spring.devtools.restart.additional-paths =#監(jiān)視更改的其他路徑。
spring.devtools.restart.enabled = true #啟用自動重新啟動。
spring.devtools.restart.exclude = META -INF / maven / **改化,META-INF / resources / **掩蛤,resources / **,static / **陈肛,public / 揍鸟,templates / / Test.class燥爷, / * Tests.class蜈亩,git.properties#應(yīng)該排除觸發(fā)完全重新啟動的模式懦窘。
spring.devtools.restart.poll-interval = 1000 #輪詢類路徑更改之間等待的時間(以毫秒為單位)前翎。
spring.devtools.restart.quiet-period = 400 #觸發(fā)重新啟動之前,沒有任何類路徑更改所需的安靜時間量(以毫秒為單位)畅涂。
spring.devtools.restart.trigger-file =#更改時將觸發(fā)重新啟動檢查的特定文件的名稱港华。如果沒有指定任何classpath文件更改將觸發(fā)重新啟動。

#REMOTE DEVTOOLS(RemoteDevToolsProperties)
spring.devtools.remote.context-path = /午衰。~~ spring-boot立宜!?#上下文路徑用于處理遠程連接。
spring.devtools.remote.debug.enabled = true #啟用遠程調(diào)試支持臊岸。
spring.devtools.remote.debug.local-port = 8000 #本地遠程調(diào)試服務(wù)器端口橙数。
spring.devtools.remote.proxy.host =#用于連接到遠程應(yīng)用程序的代理的主機。
spring.devtools.remote.proxy.port =#用于連接到遠程應(yīng)用程序的代理端口帅戒。
spring.devtools.remote.restart.enabled = true #啟用遠程重新啟動灯帮。
spring.devtools.remote.secret =#建立連接所需的共享密鑰(啟用遠程支持所需)。
spring.devtools.remote.secret-header-name = X -AUTH-TOKEN#用于傳輸共享密鑰的HTTP頭逻住。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末钟哥,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子瞎访,更是在濱河造成了極大的恐慌腻贰,老刑警劉巖,帶你破解...
    沈念sama閱讀 221,888評論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件扒秸,死亡現(xiàn)場離奇詭異播演,居然都是意外死亡,警方通過查閱死者的電腦和手機伴奥,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,677評論 3 399
  • 文/潘曉璐 我一進店門写烤,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人渔伯,你說我怎么就攤上這事顶霞。” “怎么了?”我有些...
    開封第一講書人閱讀 168,386評論 0 360
  • 文/不壞的土叔 我叫張陵选浑,是天一觀的道長蓝厌。 經(jīng)常有香客問我,道長古徒,這世上最難降的妖魔是什么拓提? 我笑而不...
    開封第一講書人閱讀 59,726評論 1 297
  • 正文 為了忘掉前任,我火速辦了婚禮隧膘,結(jié)果婚禮上代态,老公的妹妹穿的比我還像新娘。我一直安慰自己疹吃,他們只是感情好蹦疑,可當(dāng)我...
    茶點故事閱讀 68,729評論 6 397
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著萨驶,像睡著了一般歉摧。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上腔呜,一...
    開封第一講書人閱讀 52,337評論 1 310
  • 那天叁温,我揣著相機與錄音,去河邊找鬼核畴。 笑死膝但,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的谤草。 我是一名探鬼主播跟束,決...
    沈念sama閱讀 40,902評論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼咖刃!你這毒婦竟也來了泳炉?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,807評論 0 276
  • 序言:老撾萬榮一對情侶失蹤嚎杨,失蹤者是張志新(化名)和其女友劉穎花鹅,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體枫浙,經(jīng)...
    沈念sama閱讀 46,349評論 1 318
  • 正文 獨居荒郊野嶺守林人離奇死亡刨肃,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,439評論 3 340
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了箩帚。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片真友。...
    茶點故事閱讀 40,567評論 1 352
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖紧帕,靈堂內(nèi)的尸體忽然破棺而出盔然,到底是詐尸還是另有隱情桅打,我是刑警寧澤,帶...
    沈念sama閱讀 36,242評論 5 350
  • 正文 年R本政府宣布愈案,位于F島的核電站挺尾,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏站绪。R本人自食惡果不足惜遭铺,卻給世界環(huán)境...
    茶點故事閱讀 41,933評論 3 334
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望恢准。 院中可真熱鬧魂挂,春花似錦、人聲如沸馁筐。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,420評論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽眯漩。三九已至芹扭,卻和暖如春麻顶,著一層夾襖步出監(jiān)牢的瞬間赦抖,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,531評論 1 272
  • 我被黑心中介騙來泰國打工辅肾, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留队萤,地道東北人。 一個月前我還...
    沈念sama閱讀 48,995評論 3 377
  • 正文 我出身青樓矫钓,卻偏偏與公主長得像要尔,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子新娜,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 45,585評論 2 359

推薦閱讀更多精彩內(nèi)容