1. Caddy version ('2.3`):
2. How I run Caddy:
running service on port 8080
need to reverse proxy and also redirect http>https
a. System environment:
ubuntu 18.04
b. Command:
caddy start
c. Service/unit/compose file:
?
d. My complete Caddyfile or JSON config:
site.com
reverse_proxy localhost:8080
3. The problem I’m having:
The site does work when browsing https://site.com
However, if you enter http://site.com it fails
I would like the http to redirect to https
4. Error messages and/or full log output:
5. What I already tried:
i’ve tried setting the reverse_proxy to ‘http://localhost:8080’
I feel this is something simple I am missing, but having a hard time finding a documented solution.
Thanks!