seb-server/src/main/resources/config/application.properties

58 lines
1.9 KiB
Properties
Raw Normal View History

2020-02-12 14:54:22 +01:00
spring.application.name=SEB Server
2020-06-23 13:33:55 +02:00
spring.profiles.active=ws,gui,dev
sebserver.version=@sebserver-version@
2020-02-12 14:54:22 +01:00
##########################################################
### Global Server Settings
# Server address (set for docker internal)
server.address=0.0.0.0
# Server http port
server.port=8080
# The servlet context path
server.servlet.context-path=/
# Tomcat
server.tomcat.max-threads=2000
2020-02-12 14:54:22 +01:00
server.tomcat.accept-count=300
2020-03-25 16:09:05 +01:00
server.tomcat.uri-encoding=UTF-8
2020-02-12 14:54:22 +01:00
### encoding
file.encoding=UTF-8
2020-12-15 17:53:21 +01:00
spring.mandatoryFileEncoding=UTF-8
2020-02-12 14:54:22 +01:00
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
### servlet session handling
server.servlet.session.cookie.http-only=true
server.servlet.session.tracking-modes=cookie
### Logging
# Default logging level in the form "logging.level" + namespace=LEVEL
2020-04-27 12:17:10 +02:00
logging.level.ROOT=WARN
2020-04-30 17:25:56 +02:00
logging.level.ch=INFO
2020-02-12 14:54:22 +01:00
# Log file name and location
2021-01-06 17:15:32 +01:00
# logging.file=/sebserver/log/sebserver.log
2020-02-12 14:54:22 +01:00
### spring actuator configuration
2021-09-09 11:34:59 +02:00
management.endpoints.jmx.exposure.include=metrics,logfile,loggers,heapdump,health
2020-02-12 14:54:22 +01:00
management.endpoints.web.base-path=/mprofile
2021-03-25 16:56:39 +01:00
management.endpoints.web.exposure.include=metrics,logfile,loggers,heapdump,health
2020-02-12 14:54:22 +01:00
##########################################################
### Overall Security Settings
security.require-ssl=false
#server.ssl.key-store-type=PKCS12
#server.ssl.key-store=/certs/seb-server-keystore.pkcs12
#server.ssl.key-store-password=${sebserver.certs.password}
#server.ssl.key-password=${sebserver.certs.password}
#server.ssl.trust-store=/certs/seb-server-truststore.pkcs12
#server.ssl.trust-store-password=${sebserver.certs.password}
#server.ssl.enabled-protocols=TLSv1,TLSv1.1,TLSv1.2
# If webservice or gui runs on ssl and this flag is true, an integrated redirect from http to https is activated
# Disable this if a redirect is done by a reverse proxy for example
sebserver.ssl.redirect.enabled=false
sebserver.ssl.redirect.html.port=8080