Moved nginx_directives before location ~ \.php$. If fixes broken directives...
Moved nginx_directives before location ~ \.php$. If fixes broken directives like https://webmasters.stackexchange.com/questions/85546/block-access-to-php-files-in-folder-in-nginx-under-ispconfig or https://www.howtoforge.de/forum/threads/nginx-default-php-location-und-cms-hardening.10408/. Tested it in different cases. No difference except that nginx directives work as intended.
parent
3d069dfc
Please register or sign in to comment