Resposta alternativa, sem se:
server {
location / {
add_header X-Cache-Status "foo";
try_files /cache/${host}${cache_uri}_index.html @fallback;
}
location @fallback {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
}