nginx - Exclude specific files in a "location" rule -


i "secured" wordpress installation making .php-files in /wp-content/ "not found"

location ~ ^/wp-content/.+\.php$ {       return 404;    } 

how can exclude specific files/directories in rule , make them executable again?


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -