diff --git a/src/main/resources/sam.conf b/src/main/resources/sam.conf index 80497079b9..893cc57b35 100644 --- a/src/main/resources/sam.conf +++ b/src/main/resources/sam.conf @@ -3,6 +3,12 @@ akka { server { idle-timeout = 180 s request-timeout = 60 s + parsing { + # Supresses akka http header warnings such as Illegal header: Illegal 'x-forwarded-host' + # These warnings can sometimes come from apache and akka disagreeing on web standards + # Takes an array that can be set with seperate env vars in the format: IGNORE_ILLEGAL_HEADERS.0, IGNORE_ILLEGAL_HEADERS.1, etc. + ignore-illegal-header-for = ${?IGNORE_ILLEGAL_HEADERS} + } } host-connection-pool { max-open-requests = 16384