Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Bad Content-Type with ELB #60

Open
profy12 opened this issue Nov 14, 2019 · 2 comments
Open

Bad Content-Type with ELB #60

profy12 opened this issue Nov 14, 2019 · 2 comments

Comments

@profy12
Copy link

profy12 commented Nov 14, 2019

If using this layer with an ELB, http header Content-Type is set to application/octet-stream instead of text/html; charset=UTF-8.

Bug or feature ? How can I change it ?

@emycakes
Copy link

can confirm I am also experiencing this issue without an ability to change it

@daftspunk
Copy link

To solve this issue, enable Multi value headers in AWS:

  1. Open AWS console
  2. Navigate to EC2 > Load Balancing > Target Groups
  3. Select relevant Target Group
  4. Click Edit under Attributes
  5. Set Multi value headers to Enabled

The proper headers should return now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants