diff --git a/config/dev.exs b/config/dev.exs index 970788f9c..a932818ac 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -8,6 +8,7 @@ import Config # with brunch.io to recompile .js and .css sources. config :mobilizon, Mobilizon.Web.Endpoint, http: [ + ip: {127, 0, 0, 1}, port: 4000 ], url: [ diff --git a/priv/templates/config.template.eex b/priv/templates/config.template.eex index 6d2eb4be7..f66ce66e3 100644 --- a/priv/templates/config.template.eex +++ b/priv/templates/config.template.eex @@ -5,7 +5,10 @@ import Config config :mobilizon, Mobilizon.Web.Endpoint, server: <%= release %>, url: [host: "<%= instance_domain %>"], - http: [port: <%= listen_port %>], + http: [ + ip: {0, 0, 0, 0, 0, 0, 0, 1}, + port: <%= listen_port %> + ], secret_key_base: "<%= instance_secret %>" config :mobilizon, Mobilizon.Web.Auth.Guardian,