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
| Python | 3.10.12 |
| PID | 2733022 |
| Running as uid | 1001 |
| PORT from environment | 20000 |
| Working directory | /home/albantest/web/php.ogoula.space |
| HOME | /home/albantest |
| Hostname | ubuntu |
| Uptime | 4476.7s — restart the site and watch it reset |
What nginx passed through
| Host | php.ogoula.space |
| X-Real-IP | 216.73.216.217 |
| X-Forwarded-For | 216.73.216.217 |
| X-Forwarded-Proto | https |
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.