ubuntuandClaude Sonnet 5 0fa98c7283 Read the client IP from X-Real-IP behind the nginx reverse proxy
Since TLS termination moved to nginx, aiohttp's request.remote is
nginx's own address on the docker network (172.21.0.1), a private IP
that resolve_ip_country() correctly refuses to geolocate. Nginx
already forwards the real client address via X-Real-IP
(iptv.mrk.ovh.conf); read that first so device IP/country tracking
works again.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-30 23:29:10 +00:00
2026-08-03 13:14:43 +00:00
2026-08-03 13:14:43 +00:00
2026-08-03 13:14:43 +00:00
S
Description
No description provided
1.7 MiB
Languages
HTML 51.1%
Python 38.7%
JavaScript 9.3%
Shell 0.7%
Dockerfile 0.2%