Fix config section handling

Was initially iterating through top-level sections, not the subsections under the particular server config.