Fix virtual host for image-serve
Today only the hostname can be used for the image serve. The image
serve host needs to be an actual hostname for ipv6, but there's nothing
that should prevent it from listening on other hosts like localhost or
being referenced via an ipv4 address.
Closes-Bug: #1957988
Change-Id: I45b43110786e606978b1993f6570ee94b8804c22
(cherry picked from commit 9b2ffd10dc
)
This commit is contained in:
parent
0c3f18d72f
commit
a2b01aaf60
|
@ -1,7 +1,7 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
Listen {{ tripleo_container_registry_port }}
|
||||
<VirtualHost {{ tripleo_container_registry_host }}:{{ tripleo_container_registry_port }}>
|
||||
<VirtualHost *:{{ tripleo_container_registry_port }}>
|
||||
DocumentRoot {{ tripleo_image_data_dir }}
|
||||
ErrorLog "/var/log/httpd/image_serve_error.log"
|
||||
ServerSignature Off
|
||||
|
|
Loading…
Reference in New Issue