Better config for inet6 in prod
Taken from Phoenix template config Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
bbb3a8576c
commit
06501364b1
@ -1,7 +1,10 @@
|
||||
import Config
|
||||
|
||||
config :mobilizon, MobilizonWeb.Endpoint,
|
||||
http: [:inet6, port: System.get_env("MOBILIZON_INSTANCE_PORT") || 4000],
|
||||
http: [
|
||||
port: System.get_env("MOBILIZON_INSTANCE_PORT") || 4000,
|
||||
transport_options: [socket_opts: [:inet6]]
|
||||
],
|
||||
url: [
|
||||
host: System.get_env("MOBILIZON_INSTANCE_HOST") || "mobilizon.me",
|
||||
port: 443,
|
||||
|
Loading…
Reference in New Issue
Block a user