You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing some parts of my code which rely on ngx.var.remote_addr. Also I need to fake this value sometimes, like testing a rate limiter in which keys are generated from remote_addr value.
Is there any way to fake the values like ngx.var.remote_addr, ngx.var.host or ... for testing purposes?