Protect against php files being send as static files

Olaf van der Spek nginx-forum at forum.nginx.org
Tue Mar 5 11:50:54 UTC 2019


Hi,

Is there a way to protect against php files being send as static files /
source due to some php specific configuration being missed (by accident)?
Another web server has this by default: static-file.exclude-extensions = (
".php", ".pl", ".fcgi" )

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



More information about the nginx mailing list