Borrowing stuff from official Nginx Dockerfile