Closed scottrobertson closed 9 years ago
LGTM
If I understand correctly, only one redirect clause is supported with this template? And only supported in backends?
I merged this into my own fork so i could use it, and it came out as:
backend appservers
description App Servers
server app0.lon1.example.com:80
redirect scheme https if !{ ssl_fc }
Works perfectly for me.
I'm closing this. See commit ea2190f41db15bb67ec564d776fe59e76b0b0453 . I added the redirect options. The synthax is slightly different to yours. Commit ea2190f41db15bb67ec564d776fe59e76b0b0453 lets you specify multiple redirect clauses as per haproxy documentation.
This one is quite urgent as it is blocking a deployment. If you could look into it asap that would be awesome.