1 Answer
- Newest
- Most votes
- Most comments
0
ALB doesn't natively support CORS. CORS headers need to be added by the backend application. ALB just forwards CORS requests to the back-end application as well as forwards CORS responses to the clients.
If you have a single page application with only static content than ALB is not required.
if there is an backend application deployed in an EC2 instance with application load balancer in front than you need to CORS headers needs to be added by the backend application.
answered a year ago
Relevant content
- asked 5 months ago
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago