I do want to configure nginx in order to cache confluence requests, lowing the load on the Confluence server as much as possible.
Here are few details that should be considered: nginx is providing the HTTPS and gzip compression layers to confluence.
Most people are accesing Confluence are logged in.
So far it seems that Confluence/tomcat returns responses with Expire in the past and with Cache-Control: no-cache.
I tried to ignore them, and Set-Cookie, but ended up with users having their sessions swapped, which is something not acceptable.
Doe anyone have a working setup with nginx, that does succefully do caching?