Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore Set-Cookie from token and introspection endpoint to fix caching
https://stackoverflow.com/a/9232739/2217862: > Make sure your backend does not return Set-Cookie header. If Nginx sees > it, it disables caching. > > proxy_ignore_header will ensure that the caching takes place. > proxy_hide_header will ensure the Cookie payload is not included in the > cached payload. This is important to avoid leaking cookies via the > NGINX cache.
- Loading branch information