create and chown dirs needed by nginx