Added directory permissions for nginx