Skip to content
Commit 4fa9037c authored by Christian's avatar Christian
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment