1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

Make instance listen by default only on local interface

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-03-26 10:32:23 +01:00
parent eea9b9b35d
commit b1e6fcd73b
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 5 additions and 1 deletions

View file

@ -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: [

View file

@ -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,