CHANGED only switch nginx config files if checks pass