|
|
@ -15,8 +15,16 @@ port = |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
config :block_scout_web, BlockScoutWeb.Endpoint, |
|
|
|
config :block_scout_web, BlockScoutWeb.Endpoint, |
|
|
|
http: [port: port || 4000], |
|
|
|
http: [ |
|
|
|
|
|
|
|
protocol_options: [ |
|
|
|
|
|
|
|
idle_timeout: 90_000 |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
port: port || 4000 |
|
|
|
|
|
|
|
], |
|
|
|
https: [ |
|
|
|
https: [ |
|
|
|
|
|
|
|
protocol_options: [ |
|
|
|
|
|
|
|
idle_timeout: 90_000 |
|
|
|
|
|
|
|
], |
|
|
|
port: (port && port + 1) || 4001, |
|
|
|
port: (port && port + 1) || 4001, |
|
|
|
cipher_suite: :strong, |
|
|
|
cipher_suite: :strong, |
|
|
|
certfile: System.get_env("CERTFILE") || "priv/cert/selfsigned.pem", |
|
|
|
certfile: System.get_env("CERTFILE") || "priv/cert/selfsigned.pem", |
|
|
|