nginx conf bug fixes