openresty / encrypted-session-nginx-module

encrypt and decrypt nginx variable values
http://openresty.org
195 stars 52 forks source link

Can we add more examples ? #31

Open paras5125 opened 1 year ago

paras5125 commented 1 year ago

one example use case may be doing nginx reverse proxying using WebSockets where the encrypted ips are passed in the header when the first response is sent from the server to the client and further the next following requests from the same client come with encrypted ip in the header, which nginx decodes and then routes the request to the correct downstream server with the ip same as we got after decrypting the (encrypted)ip from the header in the request (on load balancer or nginx).