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

python - cx_oracle unable to find Oracle Client -

shader - OpenGL Shadow Map -

c# - Exchange 2010/2013 TransportAgent Content Conversion for Internal Recipients -