0fa98c7283b591ddb794d87a7985bc0c1ed8662c
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>
Description
No description provided
1.7 MiB
Languages
HTML
51.1%
Python
38.7%
JavaScript
9.3%
Shell
0.7%
Dockerfile
0.2%