Code Select
# DO NOT EDIT THIS FILE -- OPNsense auto-generated file
# caddy_user=root
# Global Options
{
log {
output net unixgram//var/run/caddy/log.sock {
}
format json {
time_format rfc3339
}
level DEBUG
}
servers {
protocols h1 h2
log_credentials
}
email chris@mydomain.net
grace_period 10s
skip_install_trust
import /usr/local/etc/caddy/caddy.d/*.global
}
# Reverse Proxy Configuration
h.mydomain.net {
@xxxxxxxxxxxxxxxx_hmydomainnet {
not remote_ip 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8 172.16.0.0/16
}
handle @xxxxxxxxxxxxxxxx_hmydomainnet {
abort
}
handle {
reverse_proxy 192.168.1.124:8123 {
transport http {
}
}
}
}
import /usr/local/etc/caddy/caddy.d/*.conf
The A zone record is 192.168.1.1, which is the router and caddy proxy. Attempting to go to h.mydomain.net on the LAN won't take me to 192.168.1.124:8123, instead to 192.168.1.1. Does Caddy not work on the LAN side?
"