lua-resty-openidc icon indicating copy to clipboard operation
lua-resty-openidc copied to clipboard

Send Authorization to backend

Open Pythonov opened this issue 2 years ago • 1 comments

Hi! Could you help me please? Is it possible to send Authorization header to app behind the nginx? Thank you!

Pythonov avatar Apr 22 '22 10:04 Pythonov

This really is an nginx question more than a lua-resty-openidc one. By "the app behind nginx" I assume you've got an application for which nginx acts as reverse proxy using the proxy module. In that case proxy_set_header is your friend.

bodewig avatar Apr 22 '22 15:04 bodewig