pull/2194/head
Ayrat Badykov 6 years ago
parent ea940de593
commit 4b38147afe
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 8
      apps/block_scout_web/config/config.exs
  2. 10
      apps/block_scout_web/config/dev.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") || "/"

@ -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",

Loading…
Cancel
Save