Add support for enable_host_header parameter.
Add config option and template setting. Change-Id: Ie8d7012036765488eee701423814b314416d2bf8 Closes-Bug: 1692922 Related-Bug: 1691452
This commit is contained in:
parent
48c14fbeca
commit
2e8eab733c
|
@ -38,3 +38,7 @@ options:
|
|||
default: '%(hostname)s.%(tenant_id)s.%(zone)s'
|
||||
type: string
|
||||
description: Format of floating ip global records
|
||||
enable-host-header:
|
||||
default: false
|
||||
type: boolean
|
||||
description: Enables host request headers.
|
||||
|
|
|
@ -88,7 +88,7 @@ notification_topics = notifications_designate
|
|||
#threads = 1000
|
||||
|
||||
# Enable host request headers
|
||||
#enable_host_header = False
|
||||
enable_host_header = {{ options.enable_host_header }}
|
||||
|
||||
# The base uri used in responses
|
||||
api_base_uri = '{{ options.external_endpoints.designate_api.url }}'
|
||||
|
|
Loading…
Reference in New Issue