Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How can I set X-Forwarded-Proto header for a reverse proxy when using puppetlabs/apache?

$
0
0
Hi there, I use `puppetlabs/apache` to manage my Apache server, and the proxy options work well for me. Because I need to form links in the backend based on the protocol (`http` or `https`), I want to pass the de-facto standard`X-Forwarded-Proto` header to the backend. But, the only available option to set these headers, Apache's built in `ProxyAddHeaders` directive, which is implemented in `puppetlabs/apache` by `proxy_add_headers`attribute, does not set `X-Forwarded-Proto`, but only sets some other `X-Forwarded-*` headers. Is there a way in the apache module that I can set this custom header?

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>