Hi,
I'm trying to move from a shareddict implementation to using a redis store for session tokens. The reason for the move is that I need to collect these tokens from one nginx instance, and validate them in another.
The tokens are generated by the upstream application and returned to nginx as a response header. I've been using header_filter_by_lua_* with the shareddict approach, but this does not work with the redis module (as documented).
I've tried various other approaches, but I cannot seem to capture the response headers. I tried with rewrite_by_lua_*, but then the response headers disappear entirely, for reason I cannot quite understand.
Am I missing something entirely obvious here?
Thanks,
/Eirik