X-Forwarded-For
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
print(f"{12345678:<017d}") # дополнить нулями недостающие позиции, всего позиций 17
~$ python3
Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print(f"{12345678:<017d}")
12345678000000000
>>>
Before using the TG V3 firmware 91.2.0.4 to upgrade, please make sure your TG gateway’s firmware version is 91.X.X.X or its SN starts with 331; using this firmware on a non-V3 gateway will result in system crash.