mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 16:03:25 +00:00
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
854ada3dc6
commit
3838e0315a
1 changed files with 4 additions and 1 deletions
|
@ -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