News for hackers. Stuff that matters.
Re:Show HN: Caddy 2 by throwaway483284 on Monday May 04, 2020 @02:46PM (#23071754)
I've started using caddy 2 couple of days ago, I am using Caddyfile because json based configuration looks really awful and is hard to maintain (quick changes take a lot of time). The only problem I've encountered is that you can't turn off TLS for a route using Caddyfile. Why is that?
Re:Show HN: Caddy 2 by mholt on Monday May 04, 2020 @02:50PM (#23071803)
You definitely can, just prepend your site address with http:// or use port :80 (the HTTP port).

More info:

- https://caddyserver.com/docs/caddyfile/concepts#addresses

- https://caddyserver.com/docs/automatic-https#overview