Using caddy to serve both Lan and Public domain

Can you post the configuration (you can sanitize the hostname / IPs if needed)?. I’m running a single caddy instance serving both internal and external sites with no issues.