forked from potsda.mn/mobilizon
Merge branch 'enhancement/better-config-for-inet6' into 'master'
Better config for inet6 in prod See merge request framasoft/mobilizon!295
This commit is contained in:
commit
a01b028fd9
|
@ -1,7 +1,10 @@
|
||||||
import Config
|
import Config
|
||||||
|
|
||||||
config :mobilizon, MobilizonWeb.Endpoint,
|
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: [
|
url: [
|
||||||
host: System.get_env("MOBILIZON_INSTANCE_HOST") || "mobilizon.me",
|
host: System.get_env("MOBILIZON_INSTANCE_HOST") || "mobilizon.me",
|
||||||
port: 443,
|
port: 443,
|
||||||
|
|
Loading…
Reference in a new issue