Make instance listen by default only on local interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
eea9b9b35d
commit
b1e6fcd73b
|
@ -8,6 +8,7 @@ import Config
|
||||||
# with brunch.io to recompile .js and .css sources.
|
# with brunch.io to recompile .js and .css sources.
|
||||||
config :mobilizon, Mobilizon.Web.Endpoint,
|
config :mobilizon, Mobilizon.Web.Endpoint,
|
||||||
http: [
|
http: [
|
||||||
|
ip: {127, 0, 0, 1},
|
||||||
port: 4000
|
port: 4000
|
||||||
],
|
],
|
||||||
url: [
|
url: [
|
||||||
|
|
|
@ -5,7 +5,10 @@ import Config
|
||||||
config :mobilizon, Mobilizon.Web.Endpoint,
|
config :mobilizon, Mobilizon.Web.Endpoint,
|
||||||
server: <%= release %>,
|
server: <%= release %>,
|
||||||
url: [host: "<%= instance_domain %>"],
|
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 %>"
|
secret_key_base: "<%= instance_secret %>"
|
||||||
|
|
||||||
config :mobilizon, Mobilizon.Web.Auth.Guardian,
|
config :mobilizon, Mobilizon.Web.Auth.Guardian,
|
||||||
|
|
Loading…
Reference in a new issue