diff --git a/apps/block_scout_web/config/config.exs b/apps/block_scout_web/config/config.exs index 9c59194f2a..e601e299f8 100644 --- a/apps/block_scout_web/config/config.exs +++ b/apps/block_scout_web/config/config.exs @@ -40,14 +40,6 @@ config :block_scout_web, BlockScoutWeb.Endpoint, idle_timeout: 90_000 ] ], - https: [ - protocol_options: [ - idle_timeout: 90_000 - ], - cipher_suite: :strong, - certfile: System.get_env("CERTFILE") || "priv/cert/selfsigned.pem", - keyfile: System.get_env("KEYFILE") || "priv/cert/selfsigned_key.pem" - ], url: [ host: "localhost", path: System.get_env("NETWORK_PATH") || "/" diff --git a/apps/block_scout_web/config/dev.exs b/apps/block_scout_web/config/dev.exs index 27ce5aff40..ce955a764c 100644 --- a/apps/block_scout_web/config/dev.exs +++ b/apps/block_scout_web/config/dev.exs @@ -15,8 +15,16 @@ port = end config :block_scout_web, BlockScoutWeb.Endpoint, - http: [port: port || 4000], + http: [ + protocol_options: [ + idle_timeout: 90_000 + ], + port: port || 4000 + ], https: [ + protocol_options: [ + idle_timeout: 90_000 + ], port: (port && port + 1) || 4001, cipher_suite: :strong, certfile: System.get_env("CERTFILE") || "priv/cert/selfsigned.pem",