Only listen on IPv4

Closes #802

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-08-11 11:43:45 +02:00
parent 5c90fa9659
commit 12523b6ae4
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -6,7 +6,7 @@ config :mobilizon, Mobilizon.Web.Endpoint,
server: <%= release %>,
url: [host: "<%= instance_domain %>"],
http: [
ip: {0, 0, 0, 0, 0, 0, 0, 1},
ip: {127,0,0,1},
port: <%= listen_port %>
],
secret_key_base: "<%= instance_secret %>"