It works by adding a X-Accel-Expires header to my php output what the fastcgi_cache will follow what also then means if i use proxy_cache it would follow it too :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269212,269219#msg-269219