add logs and temp directory for nginx