Fix server directive handeling in config file to co exist with auto discovery