1. Caddy version (caddy version
):
v2.3.0 h1:fnrqJLa3G5vfxcxmOH/+kJOcunPLhSBnjgIvjXV/QTA=
2. How I run Caddy:
Serve files over HTTP/HTTPS
Reverse proxy for Home Assistant
a. System environment:
Ubuntu 20.10, not using systemd (yet) or Docker
b. Command:
caddy run
c. Service/unit/compose file:
N/A
d. My complete Caddyfile or JSON config:
localhost, 192.168.1.34, server.theundarkpixel.com {
root * /home/caddy/root/
handle_path /hass/* {
rewrite * {path}
reverse_proxy localhost:8123
}
file_server
}
hass.server.theundarkpixel.com {
reverse_proxy * localhost:8123
}
3. The problem I’m having:
I’m trying to disable automatic HTTPS on LAN addresses so that I can access my hosted files without going over the internet.
4. Error messages and/or full log output:
This site can’t provide a secure connection192.168.1.34 sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
5. What I already tried:
localhost, 192.168.1.34:80, server.theundarkpixel.com {
...
localhost, http://192.168.1.34, server.theundarkpixel.com {
...
localhost, http://192.168.1.34:80, server.theundarkpixel.com {
...
localhost, 192.168.1.34, server.theundarkpixel.com {
192.168.1.34 {
auto_https disable_redirects
}
...
6. Links to relevant resources:
N/A