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

29 lines
453 B
Caddyfile
Raw Normal View History

(custom.domain) {
{$DOMAIN_NAME} {
tls {$EMAIL_ADDRESS}
2020-07-27 13:40:26 +00:00
reverse_proxy nginx:80
}
}
(siasky.net) {
siasky.net, *.siasky.net {
tls {
dns cloudflare {env.CLOUDFLARE_AUTH_TOKEN}
}
2020-07-27 13:40:26 +00:00
reverse_proxy nginx:80
}
}
(localhost) {
:443 {
tls internal {
on_demand
}
2020-07-27 13:40:26 +00:00
reverse_proxy nginx:80
}
}
import localhost
# import custom.domain
# import siasky.net