mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-14 16:59:53 +00:00
Adding GZIP compression to Tomcat server
This commit is contained in:
parent
ea56a71ed7
commit
52053e0f3a
@ -12,7 +12,7 @@ jakarta.persistence.sharedCache.mode = UNSPECIFIED
|
|||||||
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||||
|
|
||||||
# Tomcat Config
|
# Tomcat Config
|
||||||
server.tomcat.additional-tld-skip-patterns=jakarta.persistence-api*.jar, jakarta.xml.bind-api*.jar, txw2*.jar, *commons*.jar, *annotations*.jar, *checker*.jar, *lombok*.jar, *jsr*.jar, *guava*.jar, *access*.jar, *activation*.jar, *bcprov*.jar, *bcmail*.jar, *bcutil*.jar, *bcpkix*.jar, *json*.jar
|
server.tomcat.additional-tld-skip-patterns=jakarta.persistence-api*.jar, jakarta.xml.bind-api*.jar, txw2*.jar, *commons*.jar, *annotations*.jar, *checker*.jar, *lombok*.jar, *jsr*.jar, *guava*.jar, *access*.jar, *activation*.jar, *bcprov*.jar, *bcmail*.jar, *bcutil*.jar, *bcpkix*.jar, *json*.jar
|
||||||
server.tomcat.basedir=/opt/embeddedtomcat
|
server.tomcat.basedir=/opt/embeddedtomcat
|
||||||
server.servlet.register-default-servlet=true
|
server.servlet.register-default-servlet=true
|
||||||
server.servlet.context-path=/
|
server.servlet.context-path=/
|
||||||
@ -38,3 +38,9 @@ server.ssl.key-alias=hirs_aca_tls_rsa_3k_sha384
|
|||||||
# ACA specific default properties
|
# ACA specific default properties
|
||||||
aca.certificates.validity = 3652
|
aca.certificates.validity = 3652
|
||||||
|
|
||||||
|
# Compression settings
|
||||||
|
server.compression.enabled=true
|
||||||
|
# Compression content types
|
||||||
|
server.compression.mime-types=application/javascript,application/json,application/xml,text/css,text/html,text/plain,text/xml
|
||||||
|
# Minimum response size for compression
|
||||||
|
server.compression.min-response-size=2048
|
Loading…
Reference in New Issue
Block a user