SERVER_ADDR in templates

Is there a way to get the equivalent of SERVER_ADDR in the Caddy templates? Something like:

Server IP: {{.ServerIp}}

I have created a PR that implements this:
https://github.com/mholt/caddy/pull/1474

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.