Hello Folks!
I denied the direct access of php files ins my my site.conf (..../sites-enabled/mydomain.tld.conf)
# Disable direct access of any *.php in /wp_content folder
location ~ ^/wp-content/.+\.php$ {
return 444;
}
Thats working well!
But i grant access to one plugin folder:
/wp-content/plugins/these1plugin/
How can i exclude it?
Any idea
I denied the direct access of php files ins my my site.conf (..../sites-enabled/mydomain.tld.conf)
# Disable direct access of any *.php in /wp_content folder
location ~ ^/wp-content/.+\.php$ {
return 444;
}
Thats working well!
But i grant access to one plugin folder:
/wp-content/plugins/these1plugin/
How can i exclude it?
Any idea