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
Additional environment information:
Runs inside Kubernetes cluster, internal communication using HTTP and HTTPS for client communication
Describe the bug
It seems that Krakend is not sending the Strict Transport Security http header for redirect responses (e.g. 301), which is unexpected to us since the header is working for all other responses(2xx, 4xx, 5xx). In our config, we disabled the automatic redirection and we expected the header to be present in 3xx responses.
Expected behavior
We expected the Strict Transport Security http header for redirect responses to be present since it goes through our krakend api-gateway.
The text was updated successfully, but these errors were encountered:
Someone more experienced than me can jump in, but as far as I remember, you had to set ssl_host and ssl_redirect to support proper 301. Also, the STS header is sent ONLY on verified HTTPS connections. If you need the STS header for all HTTP and HTTPS requests (which you shouldn't), you can use the force_sts_header, but if is_development is true during your testing phase, it will still disable this header ignoring the force_sts_header.
Environment info:
Runs inside Kubernetes cluster, internal communication using HTTP and HTTPS for client communication
Describe the bug
It seems that Krakend is not sending the Strict Transport Security http header for redirect responses (e.g. 301), which is unexpected to us since the header is working for all other responses(2xx, 4xx, 5xx). In our config, we disabled the automatic redirection and we expected the header to be present in 3xx responses.
Your configuration file:
Expected behavior
We expected the Strict Transport Security http header for redirect responses to be present since it goes through our krakend api-gateway.
The text was updated successfully, but these errors were encountered: