Wednesday, September 27, 2017

Re: httpd+relayd behind a proxy

Manuel Giraud <manuel@ledu-giraud.fr> writes:

> Hi,
>
> I have a website that is served with httpd+relayd behind a proxy (that I
> don't control). The said proxy is responsible for the public side TLS
> handshake with clients and I serve with relayd TLS and a local httpd
> without TLS.
>
> The problem is that I end up serving "mixed content" because the
> $_SERVER[HTTPS] variable is not set. What would be the best (easier) way
> to have this variable set?

Reply to self:

All I had to do was to listen with tls on in httpd.conf and do a
"forward with tls to" in relayd.conf (BTW thanks for those great man
pages!)
--
Manuel Giraud

No comments:

Post a Comment