1. The problem I’m having:
Caddy will not disable HTTPS redirects. I would like to add that I just started learning Docker and Caddy yesterday. Sorry HA. Could it be cloudflare?
2. Error messages and/or full log output:
None, just keeps redirecting to HTTPS
3. Caddy version:
v2.8.4
4. How I installed and ran Caddy:
Docker
a. System environment:
TOS
b. Command:
I have added to the top of my caddyfile
{
auto_https disable_redirects
}
or
{
auto_https off
}
I have also put http:// in the reverse proxy.
c. Service/unit/compose file:
services:
caddy:
image: serfriz/caddy-cloudflare:latest
restart: unless-stopped
container_name: caddy
network_mode: host
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- /Volume1/Software/Docker/Caddy/data/Caddyfile:/etc/caddy/Caddyfile
- /Volume1/Software/Docker/Caddy/data/site:/srv
- /Volume1/Software/Docker/Caddy/data/caddy_data:/data
- /Volume1/Software/Docker/Caddy/data/caddy_config:/config
volumes:
caddy_data:
external: true
caddy_config:
d. My complete Caddy config:
{
auto_https disable_redirects
auto_https off
}
http://homarr.domain.us {
reverse_proxy 192.168.37.5:7575
}
http://sonarr.domain.us {
reverse_proxy 192.168.37.5:8989
}
http://radarr.domain.us {
reverse_proxy 192.168.37.5:7878
}