leafo / lapis

A web framework for Lua and OpenResty written in MoonScript
http://leafo.net/lapis/
MIT License
3.14k stars 247 forks source link

How to get client ip? #782

Closed MarvelWild closed 8 months ago

MarvelWild commented 8 months ago

How to get client ip? Tried to search docs, googling, dumping some vars (ngx, self.req)

MarvelWild commented 8 months ago

nvm, nginx isssue, not lapis