enable X-Accel-Redirect in nginx.conf