added media dir to nginx autoconf