added media directive to nginx.conf