Python app is running proxy

nginx accepted the request on port 80 and forwarded it to this process on 127.0.0.1:20000. The process runs as your own account under a systemd unit that restarts it if it dies.

Process

Python3.10.12
PID2733022
Running as uid1001
PORT from environment20000
Working directory/home/albantest/web/php.ogoula.space
HOME/home/albantest
Hostnameubuntu
Uptime12724.2s — restart the site and watch it reset

What nginx passed through

Hostphp.ogoula.space
X-Real-IP216.73.216.217
X-Forwarded-For216.73.216.217
X-Forwarded-Protohttps

Trust X-Real-IP rather than the socket address: every request arrives from nginx on the loopback, so REMOTE_ADDR is always 127.0.0.1.

Also try