From f59c7aa722d86ae6f21b8e75f5aa10f0ab3ddcb8 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Fri, 29 Mar 2024 18:06:01 +0800 Subject: [PATCH] Add compress-media-types for build time config And remove quarkus.log.min-level to use default value because this is a build time config --- src/main/resources/application.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 95efae0..41a366b 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -7,6 +7,14 @@ quarkus: port: 8080 read-timeout: 30m enable-compression: true + compress-media-types: + - text/html + - text/plain + - text/xml + - text/css + - text/javascript + - application/javascript + - application/json limits: max-body-size: 1000M auth: @@ -56,7 +64,7 @@ quarkus: enabled: true log: level: INFO - min-level: TRACE + # min-level: DEBUG # Comment because this is build time config, let's use default value category: "org.jboss": level: WARN