The source project of this merge request has been removed.
Move nginx_directives before location ~ \.php$. It fixes broken nginx directives
Moved nginx_directives before location ~ .php$. It 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.