mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
12 lines
321 B
Text
12 lines
321 B
Text
# Pre-onboarding Caddyfile: temporary self-signed cert, no media drive.
|
|
# Redirects all traffic to the Controller UI for onboarding.
|
|
# Replaced by the full Caddyfile after onboarding + repair.
|
|
|
|
{
|
|
auto_https disable_redirects
|
|
}
|
|
|
|
:443 {
|
|
tls /etc/ssl/wrolpi/cert.crt /etc/ssl/wrolpi/cert.key
|
|
redir * http://{host}/ 302
|
|
}
|