mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
+3
-5
@@ -148,11 +148,9 @@ if config_env() == :prod do
|
||||
config :chesstrainer, ChesstrainerWeb.Endpoint,
|
||||
url: [host: host, port: 443, scheme: "https"],
|
||||
http: [
|
||||
# Enable IPv6 and bind on all interfaces.
|
||||
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
|
||||
# See the documentation on https://bandit.hexdocs.pm/Bandit.html#t:options/0
|
||||
# for details about using IPv6 vs IPv4 and loopback vs public addresses.
|
||||
ip: {0, 0, 0, 0, 0, 0, 0, 0}
|
||||
# The release runs behind Caddy, so bind to loopback and let the proxy
|
||||
# handle public traffic.
|
||||
ip: {127, 0, 0, 1}
|
||||
],
|
||||
secret_key_base: secret_key_base
|
||||
|
||||
|
||||
Reference in New Issue
Block a user