I think you are mixing up browser cache and server side cache.
My question is specifically about reverse proxy caching dynamic content served from WSGI app and has nothing to do how client browser cache it.
proxy_cache_path /path/to/cache levels... inactive=180d ;
location ~ /myapp {
...
proxy_cache $cache_zone_name;
proxy_cache_key $cache_key;
proxy_cache_valid 200 180d;
...
from https://www.nginx.com/blog/nginx-caching-guide/ I understood that proxy_cache_valid is not overwriting inactive, what is the best combination of these params?