iFargle / headscale-webui

A simple Headscale web UI for small-scale deployments.
Other
635 stars 60 forks source link

Add documentation for Caddy reverse proxy #21

Closed iFargle closed 1 year ago

FredericIV commented 1 year ago

Caddy configuration is blissfully short!

https://[DOMAIN] {
        reverse_proxy [SCRIPT_NAME]* [HEADSCALE-WEBUI ADDRESS]

        reverse_proxy * [HS_SERVER]
}

Example

https://example.com {
        reverse_proxy /admin* http://headscale-webui:5000

        reverse_proxy * http://headscale:8080
}
iFargle commented 1 year ago

Easy! I'll get this added to the README. Thank you!

iFargle commented 1 year ago

Added to SETUP.md. Thank you!