diff --git a/templates/neutronapi/httpd/10-neutron-httpd.conf b/templates/neutronapi/httpd/10-neutron-httpd.conf index c74511f6..fd73382c 100644 --- a/templates/neutronapi/httpd/10-neutron-httpd.conf +++ b/templates/neutronapi/httpd/10-neutron-httpd.conf @@ -13,9 +13,9 @@ ## Request header rules ## as per http://httpd.apache.org/docs/2.2/mod/mod_headers.html#requestheader {{- if $vhost.TLS }} - RequestHeader set X-Forwarded-Proto "https" + RequestHeader setIfEmpty X-Forwarded-Proto "https" {{- else }} - RequestHeader set X-Forwarded-Proto "http" + RequestHeader setIfEmpty X-Forwarded-Proto "http" {{- end }} ## Proxy rules