forked from Nixius/authelia
16 lines
514 B
Bash
Executable File
16 lines
514 B
Bash
Executable File
#!/bin/sh
|
|
# Local DNS setup so bc.a250.ca resolves to 127.0.0.1
|
|
#
|
|
# With path-based routing, only a single domain is needed.
|
|
# No wildcard DNS or per-customer entries required.
|
|
set -e
|
|
|
|
echo "Add this line to /etc/hosts:"
|
|
echo ""
|
|
echo " 127.0.0.1 bc.a250.ca"
|
|
echo ""
|
|
echo "That's it — all services are path-based under bc.a250.ca:"
|
|
echo " https://bc.a250.ca/ — landing / dashboard"
|
|
echo " https://bc.a250.ca/login/ — authentication"
|
|
echo " https://bc.a250.ca/i/{user}/ — customer instances"
|