leafo / lapis

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

How to get client ip? #782

Closed MarvelWild closed 7 months ago

MarvelWild commented 7 months ago

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

MarvelWild commented 7 months ago

nvm, nginx isssue, not lapis