diff --git a/config/dev.exs b/config/dev.exs index ffc4152..4803ff0 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -16,7 +16,14 @@ config :sukaato, Sukaato.Repo, config :sukaato, SukaatoWeb.Endpoint, # Binding to loopback ipv4 address prevents access from other machines. # Change to `ip: {0, 0, 0, 0}` to allow access from other machines. - http: [ip: {127, 0, 0, 1}, port: 4000], + # http: [ip: {127, 0, 0, 1}, port: 4000], + http: [ip: {127, 0, 0, 0, 1}, port: 4000], + https: [ + port: 4001, + cipher_suite: :strong, + keyfile: "priv/cert/selfsigned_key.pem", + certfile: "priv/cert/selfsigned.pem" + ], check_origin: false, code_reloader: true, debug_errors: true,