Is it possible to set response headers on a fixed response? All I can see if the option to set body
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
Any update on the initial question - is it possible to set custom header in the fixed-response
type?
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
As documented here https://docs.aws.amazon.com/cli/latest/reference/elbv2/create-rule.html
The following parameters only are allowed in the Fixed Response. Additional headers are not supported.
MessageBody -> (string)
The message.
StatusCode -> (string)
The HTTP response code (2XX, 4XX, or 5XX).
ContentType -> (string)
The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
Please add the possibility to set custom headers.
Relevant content
- Accepted Answerasked 9 months ago
- Accepted Answerasked a year ago
- Accepted Answerasked 9 months ago
- asked 6 months ago
- asked 7 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago