httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Apache Proxy https
Date Tue, 13 Mar 2018 19:32:17 GMT
> <Proxy "https://example.com">
> ProxySet connectiontimeout=5 timeout=30
> Require all granted
> </Proxy>

AFAICT you cannot match/limit the connectable hosts this way.  Fwd
proxy always uses "*".

I don't see good recipes out there, but this worked in my quick test:

<Proxy *>
  <RequireAll>
     Require host *.mylan.com
     Require expr %{HTTP_HOST} =~ /^example.com:443$/
  </RequireAll>
<Proxy>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message