added additional support for Nginx private media