I know this is commented out, but this setting doesn't exist in glance.

The part that you remove comes from the upstream glance-api.conf, so it's probably best to keep the exact same format to make it easier to diff the template and the upstream conf file.