Skip to content

Commit

Permalink
Merge pull request #454 from openshift-cherrypick-robot/cherry-pick-4…
Browse files Browse the repository at this point in the history
…53-to-18.0-fr1

[18.0-fr1] [httpd] Set X-Forwarded-Proto only if empty
  • Loading branch information
openshift-merge-bot[bot] authored Dec 12, 2024
2 parents 6163f2d + 8c6b7b8 commit 2c7e017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/neutronapi/httpd/10-neutron-httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c7e017

Please sign in to comment.