Only bind to the local address in prod
This commit is contained in:
parent
af355cf522
commit
eb04d0d4f7
|
@ -45,7 +45,7 @@ if config_env() == :prod do
|
||||||
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
|
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
|
||||||
# See the documentation on https://hexdocs.pm/bandit/Bandit.html#t:options/0
|
# See the documentation on https://hexdocs.pm/bandit/Bandit.html#t:options/0
|
||||||
# for details about using IPv6 vs IPv4 and loopback vs public addresses.
|
# for details about using IPv6 vs IPv4 and loopback vs public addresses.
|
||||||
ip: {0, 0, 0, 0, 0, 0, 0, 0},
|
ip: {0, 0, 0, 0, 0, 0, 0, 1},
|
||||||
port: port
|
port: port
|
||||||
],
|
],
|
||||||
secret_key_base: secret_key_base
|
secret_key_base: secret_key_base
|
||||||
|
|
Loading…
Reference in New Issue