diff --git a/conf/application.conf b/conf/application.conf index b328bd3e7972a1975c984ae9873135d8919381ad..ec96f047d1a96e0171f54f7a70088cd8c1dcf28c 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -17,6 +17,10 @@ rest.history.size = 50 // defaults to 50 if not specified #data.path: "/var/lib/cerebro/cerebro.db" data.path = "./cerebro.db" +es = { + gzip = true +} + # Authentication auth = { # Example of LDAP authentication diff --git a/conf/reference.conf b/conf/reference.conf index f6965a672cf53deba1e8d36a5f953d6df6a64ab4..da6cf2edc154ac7ba1d9fbcce181b25164013aad 100644 --- a/conf/reference.conf +++ b/conf/reference.conf @@ -2,6 +2,11 @@ secret = "changeme" play.crypto.secret = ${secret} +es { + gzip = false +} +play.ws.compressionEnabled = ${es.gzip} + # The application languages play.i18n.langs = ["en"]