# Brightery File Lockdown - Nginx example
# Add inside the relevant server block, then test and reload Nginx.

location ~* /wp-content/uploads/.*\.(?:php|php3|php4|php5|php7|php8|phtml|pht|phar|phps)$ {
    deny all;
    return 403;
}
