Protect against php files being send as static files

Olaf van der Spek nginx-forum at forum.nginx.org
Tue Mar 26 14:50:12 UTC 2019


Ian Hobson Wrote:
-------------------------------------------------------
> If you place your php files outside the main root directory, and
> then do something like this

That'd good but unfortunately not common practice.
It'd be nice to have better safety by default.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283274,283526#msg-283526



More information about the nginx mailing list