Django Book 翻译
菜单>:
TOC
返回
原文:
So heres a small bit of middleware that lets sites running behind a proxy still see the correct IP address in ``request.META["REMOTE_ADDR"]`` :
翻译:
因此,需要一个小小的中间件来确保运行在proxy之后的站点也能够在 ``request.META["REMOTE_ADDR"]`` 中得到正确的IP地址:
备注:
译者: