mirror of https://github.com/jumpserver/jumpserver
when use nginx self.request.headers.get(X-Real-IP) will get real remote IP, self.request.remote_ip will get 127.0.0.1 ; if not it will git null, so need to use self.request.remote_ip for get the ippull/94/head
parent
0b9b94bc0b
commit
5098b1c696
Loading…
Reference in new issue