Help with Caddy forwarding real ip

Please use three backticks ``` on their own lines, before and after your configs and logs to use code formatting. It’s difficult to read your post because of the messy formatting.

Do not use these lines. Caddy automatically sets the appropriate headers.

You’ll need to use the realip plugin, which replaces the RemoteAddr field in the request as early as possible with the value from the X-Forwarded-For header.