Merge pull request #1426 from brianmcmichael/configurable_certs

Optionally configure cert paths via envvar
pull/1439/head
Andrew Cravenho 6 years ago committed by GitHub
commit 358a7a8b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/block_scout_web/config/dev.exs

@ -11,8 +11,8 @@ config :block_scout_web, BlockScoutWeb.Endpoint,
https: [
port: 4001,
cipher_suite: :strong,
certfile: "priv/cert/selfsigned.pem",
keyfile: "priv/cert/selfsigned_key.pem"
certfile: System.get_env("CERTFILE") || "priv/cert/selfsigned.pem",
keyfile: System.get_env("KEYFILE") || "priv/cert/selfsigned_key.pem"
],
debug_errors: true,
code_reloader: true,

Loading…
Cancel
Save