I have that location block in my nginx config but I also have the following above:
location / {
try_files $uri $uri/ /index.php?$query_string;
}
Does this mean I'm safe? I'm asking because it's in a separate location block so not sure how this works (thinking that the try_files thing should be in the same location block).