Tailscale Authentication: if we're connecting within the tailnet, use that

This commit is contained in:
bluepython508
2024-05-19 15:55:07 +01:00
parent b83ef03030
commit 61c2500348
3 changed files with 20 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ config :sso_bsn, SsoBsn.Repo,
config :sso_bsn, SsoBsnWeb.Endpoint,
# Binding to loopback ipv4 address prevents access from other machines.
# Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
http: [ip: {127, 0, 0, 1}, port: 4000],
http: [ip: {0, 0, 0, 0}, port: 4000],
check_origin: false,
code_reloader: true,
debug_errors: true,