headscale-ui/docker/production/Caddyfile
2022-08-11 11:38:30 +10:00

25 lines
308 B
Caddyfile

{
skip_install_trust
auto_https disable_redirects
http_port {$HTTP_PORT}
https_port {$HTTPS_PORT}
}
:{$HTTP_PORT} {
redir / /web
uri strip_prefix /web
file_server {
root /web
}
}
:{$HTTPS_PORT} {
redir / /web
uri strip_prefix /web
tls internal {
on_demand
}
file_server {
root /web
}
}