fix for the config problem that nginx ending in a crashing loop