当前位置:网站首页>yml的配置
yml的配置
2022-06-27 11:56:00 【瑾琳】
# LOGGING
logging:
config: logback.xml
file: log/ChangHong.log
# Log file name. For instance `myapp.log`
path: log/
# Location of the log file. For instance `/var/log`
#AUTO-CONFIGURATION
spring:
autoconfigure:
# THYMELEAF (ThymeleafAutoConfiguration)
thymeleaf:
cache: true
# Enable template caching.
check-template: true
# Check that the template exists before rendering it.
check-template-location: true
# Check that the templates location exists.
content-type: text/html
# Content-Type value.
enabled: true
# Enable MVC Thymeleaf view resolution.
encoding: UTF-8
# Template encoding.
excluded-view-names:
# Comma-separated list of view names that should be excluded from resolution.
mode: HTML5
# Template mode to be applied to templates. See also StandardTemplateModeHandlers.
prefix: /
# Prefix that gets prepended to view names when building a URL.
suffix: .html
# Suffix that gets appended to view names when building a URL.
#spring.thymeleaf.template-resolver-order:
# Order of the template resolver in the chain.
view-names:
# Comma-separated list of view names that can be resolved.
# SPRING WEB SERVICES (WebServicesProperties)
webservices:
path: /services
# Path that serves as the base URI for the services.
#spring.webservices.servlet.init:
# Servlet init parameters to pass to Spring Web Services.
servlet:
load-on-startup: -1
# Load on startup priority of the Spring Web Services servlet.
# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
datasource:
continue-on-error: false
# Do not stop if an error occurs while initializing the database.
#spring.datasource.data: # Data (DML) script resource references.
#spring.datasource.data-username: root
# User of the database to execute DML scripts (if different).
#spring.datasource.data-password: bogenmacher2qq
# Password of the database to execute DML scripts (if different).
driver-class-name: com.mysql.jdbc.Driver
# Fully qualified name of the JDBC driver. Auto-detected based on the URL by default.
name: ChangHong
# Name of the datasource.
username: root
password: password
# Login password of the database.
platform: all
# Platform to use in the schema resource (schema-${platform}.sql).
separator: ;
# Statement separator in SQL initialization scripts.
sql-script-encoding: UTF-8
# SQL scripts encoding.
url: "jdbc:mysql://localhost:3306/ChangHong?useUnicode=true&characterEncoding=UTF-8&useSSL=false"
# JDBC url of the database.
#spring.datasource.
# SPRING MVC (WebMvcProperties)
mvc:
async:
request-timeout: 0
# Amount of time (in milliseconds) before asynchronous request handling times out.
date-format: yyyy-MM-dd
# Date format to use. For instance `dd/MM/yyyy`.
dispatch-trace-request: false
# Dispatch TRACE requests to the FrameworkServlet doService method.
dispatch-options-request: true
# Dispatch OPTIONS requests to the FrameworkServlet doService method.
favicon:
enabled: true
# Enable resolution of favicon.ico.
formcontent:
putfilter:
enabled: true
# Enable Spring's HttpPutFormContentFilter.
ignore-default-model-on-redirect: true
# If the content of the "default" model should be ignored during redirect scenarios.
locale:
# Locale to use. By default, this locale is overridden by the "Accept-Language" header.
locale-resolver: accept-header
# Define how the locale should be resolved.
log-resolved-exception: false
# Enable warn logging of exceptions resolved by a "HandlerExceptionResolver".
#media-types:
# *:
# Maps file extensions to media types for content negotiation.
message-codes-resolver-format:
# Formatting strategy for message codes. For instance `PREFIX_ERROR_CODE`.
servlet.load-on-startup: -1
# Load on startup priority of the Spring Web Services servlet.
#static-path-pattern: /resources/
# Path pattern used for static resources.
throw-exception-if-no-handler-found: true
# If a "NoHandlerFoundException" should be thrown if no Handler was found to process a request.
view:
prefix: /resources/
suffix: .html
边栏推荐
- esp32s3 IPERF例程测试 esp32s3吞吐量测试
- Nvme2.0 protocol - new features
- R language uses the poisgof function of epidisplay package to test the goodness of fit of Poisson regression and whether there is overdispersion
- 消息队列的使用
- How to participate in openharmony code contribution
- Unity Shader学习(一)认识unity shader基本结构
- Excel中输入整数却总是显示小数,如何调整?
- Jwas: a Bayesian based GWAS and GS software developed by Julia
- R语言fpc包的dbscan函数对数据进行密度聚类分析、plot函数可视化聚类图
- Secyun won the "2022 AI analysis · it operation and maintenance vendor panorama report" as the representative vendor of intelligent operation and maintenance aiops Market
猜你喜欢

56. Core principle of flutter - flutter startup process and rendering pipeline

c/s 架构
![Dynamic programming [4] (counting class DP) example: integer partition](/img/06/4b3863bbb85582348c6f4ea7c5511e.png)
Dynamic programming [4] (counting class DP) example: integer partition

$15.8 billion! 2021 the world's top15 most profitable hedge fund giant

Research Report on the overall scale, major manufacturers, major regions, products and application segments of hydraulic torque in the global market in 2022

I.MX6ULL启动方式

如何修改 node_modules 里的文件

Nvme2.0 protocol - new features

Shell script learning notes

动态规划【三】(区间dp)石子合并
随机推荐
The GLM function of R language is used to build a binary logistic regression model (the family parameter is binomial), and the AIC function is used to compare the AIC values of the two models (simple
AutoCAD - three pruning methods
Dynamic programming [4] (counting class DP) example: integer partition
记一次 .NET 某物管后台服务 卡死分析
Microservice splitting
Time management understood after being urged to work at home
Secyun won the "2022 AI analysis · it operation and maintenance vendor panorama report" as the representative vendor of intelligent operation and maintenance aiops Market
Jwas: a Bayesian based GWAS and GS software developed by Julia
R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、使用step函数基于AIC指标实现逐步回归筛选最佳模型、解读分析模型
面试突击60:什么情况会导致 MySQL 索引失效?
Getting started with go web programming: validators
Deep understanding of happens before principle
Detailed explanation of interprocess communication
C # WPF realizes undo redo function
"24 of the 29 students in the class successfully went to graduate school" rushed to the hot search! Where are the remaining five?
Interview shock 60: what will cause MySQL index invalidation?
What is the TCP 3-time handshake process?
Master formula
1. Mx6ull startup mode
【面试高频题】难度 1.5/5,LCS 模板题