Nginx+Php-fpm Dangerous Bug

escavern nginx-forum at
Sat Dec 3 09:48:08 UTC 2011


ok thanks man.. :)
now i need 2 nginx rewrite :

1. to disable php running in folder /myfolder
so if there is a php file like it will not be executed.

2. i need rewrite to return 403 if
"" same as
"*.jpg* so if there is "jpg" after the php
extension it will return 403... is that possible ? because im not good
creating nginx rewrite :)

can you help me guys ?

Posted at Nginx Forum:,219532,219544#msg-219544

More information about the nginx mailing list