1. The problem I’m having:
I’m trying to accept Unifi device requests to https://ui.pgroup.tech/inform and forward to http://10.0.0.207:8080/inform internally. I’m unable to reverse_proxy /inform http://10.0.0.207:8080/inform because it wont allow me to start the service.
2. Error messages and/or full log output:
Unable to start the caddy service if the reverse_proxy directive includes this
ui.pgroup.tech {
reverse_proxy /inform http://10.0.0.207:8080/inform
reverse_proxy https://10.0.0.207:8443 {
transport http {
tls_insecure_skip_verify
}
}
}
3. Caddy version:
2.6.2
4. How I installed and ran Caddy:
a. System environment:
Debian 12 container on proxmox
b. Command:
systemctl start caddy
c. Service/unit/compose file:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
d. My complete Caddy config:
working file is
{
admin off
}
ui.pgroup.tech {
reverse_proxy /inform http://10.0.0.207:8080
reverse_proxy https://10.0.0.207:8443 {
transport http {
tls_insecure_skip_verify
}
}
}