diff --git a/config/runtime.exs b/config/runtime.exs index 09045df3..e6c8ff6c 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -153,7 +153,9 @@ if System.get_env("DATABASE_IPV6") == "true" do end config :teslamate, TeslaMateWeb.Endpoint, - http: Util.choose_http_binding_address(), + http: + Util.choose_http_binding_address() + |> Keyword.merge(protocol_options: [max_header_value_length: 16384]), url: [ host: System.get_env("VIRTUAL_HOST", "localhost"), path: System.get_env("URL_PATH", "/"),