Disable fastcgi cache for specific URL


#1

I have a website that has WP on nginx (via easy engine) and additionally a small app in Laravell under domainname.com/laravel. The problem is that it’s kind of personal data passing via laravel and nginx seems to be caching some of them (data). I want to switch off caching for that URL but for some reason I can’t. Here’s what I tried so far:

location ~ /laravel/* {
    try_files $uri $uri/ /laravel/index.php?$query_string;
    fastcgi_cache off;
    fastcgi_cache_bypass 1;
    fastcgi_no_cache 1;
}

#2