diff --git a/templates/caddyfile.template b/templates/caddyfile.template index 7bbbcc7..c857a61 100644 --- a/templates/caddyfile.template +++ b/templates/caddyfile.template @@ -2,6 +2,10 @@ email {{ ssl_email }} } -{{ duckdns_domain }} { +http://{{ duckdns_domain }} { + https://{{ duckdns_domain }} permanent +} + +https://{{ duckdns_domain }} { reverse_proxy http://10.20.0.2:80 } \ No newline at end of file