You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I send request for https://example.org, I expect response with header Location: https://www.example.org, but in reality I get Location: http://www.example.org
HAProxy configuration line is always rendered with hardcoded http protocol.
frontend https
## ...
http-request redirect location http://www.example.org%[capture.req.uri] code 302 if { var(txn.path_match) -m dom 000.... }
## ...
It would be great if this could be customized with new annotation the same way as request-redirect-code allows to customize the redirect code, or directly in existing annotation value:
annotations:
## proposal 1 - new annotation for protocol override
haproxy.org/request-redirect-protocol: https
## proposal 2 - existing annotation with optional protocol
haproxy.org/request-redirect: https://www.example.org
The text was updated successfully, but these errors were encountered:
I have Ingress with
request-redirect
annotation:When I send request for
https://example.org
, I expect response with headerLocation: https://www.example.org
, but in reality I getLocation: http://www.example.org
HAProxy configuration line is always rendered with hardcoded
http
protocol.It would be great if this could be customized with new annotation the same way as
request-redirect-code
allows to customize the redirect code, or directly in existing annotation value:The text was updated successfully, but these errors were encountered: