I have an nginx/php-pfm app and there's an sqlite file that is currently accessible via web (not my idea. It's well known opensource code. Hard to config otherwise 🤦 ).
Is there a way (similar to how things are done with .htaccess files on apache) to deny web access to this specific file (or even better — a pattern/regex)?