Skip to content

Commit

Permalink
Include https redirection in Caddy template (#9)
Browse files Browse the repository at this point in the history
* Remove use of port 443 from LAN

* Add license badge

* Keep 443 on cloud vps

* Keep 443 on cloud vps

* Include https redirect in caddy template
  • Loading branch information
Naman1997 authored Sep 9, 2024
1 parent de31029 commit 14558c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/caddyfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 14558c7

Please sign in to comment.