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 %>, server: <%= release %>,
url: [host: "<%= instance_domain %>"], url: [host: "<%= instance_domain %>"],
http: [ http: [
ip: {0, 0, 0, 0, 0, 0, 0, 1}, ip: {127,0,0,1},
port: <%= listen_port %> port: <%= listen_port %>
], ],
secret_key_base: "<%= instance_secret %>" secret_key_base: "<%= instance_secret %>"