> I have the following configuration: > > frontend http1 127.0.0.10:1080 > rspirep ^Location:\ http://(.*):80(.*) Location:\ https://\1:443\2 > rspirep ^Location:\ http://(.*) Location:\ https://\1 > default_backend ssl1 > > backend ssl1 > server sslserver 192.168.68.100:443 ssl verify required ca-file > /etc/haproxy/certs/ca.crt crt /etc/haproxy/certs/client.pem > > Everything is going great, except the rewriting part. The requests are > sended to the sslserver with the original http:// location.
rspirep rewrites HTTP responses, not requests. What *exactly* are you trying to do?