This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/docker/caddy/Caddyfile

31 lines
487 B
Caddyfile

(custom.domain) {
{$DOMAIN_NAME} {
tls {$EMAIL_ADDRESS}
reverse_proxy nginx:80
}
}
(siasky.net) {
siasky.net, *.siasky.net, *.hns.siasky.net {
tls {
dns route53 {
max_retries 50
}
}
reverse_proxy nginx:80
}
}
(localhost) {
:443 {
tls internal {
on_demand
}
reverse_proxy nginx:80
}
}
import localhost
# import custom.domain
# import siasky.net