The IP address in Discourse’s user information shows CloudFlare’s IP address

When I used Ubuntu, adding this line allowed me to see the real IP. However, when using Rocky 9.3, adding this line prevents it from restarting.