Adjusted permissions and configuration settings for nginx and uwsgi