Reconfigured how $APP_ENV is set in the nginx_server_config