moved creation of nginx directory to nginx installation