Fix EZP-22955: index_*.php files are not passed on to FPM socket/network

The rewrite flags are described [here](http://nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite).