fixup! use host and port variables
This commit is contained in:
parent
4dce597375
commit
261b417eb3
@ -23,7 +23,7 @@ secret_key_base =
|
|||||||
host = System.get_env("HOST") || "localhost"
|
host = System.get_env("HOST") || "localhost"
|
||||||
|
|
||||||
config :cannery, CanneryWeb.Endpoint,
|
config :cannery, CanneryWeb.Endpoint,
|
||||||
url: [host: host],
|
url: [scheme: "https", host: host, port: "443"],
|
||||||
http: [
|
http: [
|
||||||
port: String.to_integer(System.get_env("PORT") || "80"),
|
port: String.to_integer(System.get_env("PORT") || "80"),
|
||||||
transport_options: [socket_opts: [:inet6]]
|
transport_options: [socket_opts: [:inet6]]
|
||||||
|
Loading…
Reference in New Issue
Block a user