2 Answers
- Newest
- Most votes
- Most comments
0
To resolve this:
- Configure CORS on your backend:
- Set the Access-Control-Allow-Origin header to include the domain of your frontend. You can use * as a wildcard to allow all domains, but be cautious with this approach.
- Also, set Access-Control-Allow-Methods and Access-Control-Allow-Headers to specify which methods and headers are allowed.
- Update your ELB (Elastic Load Balancer) settings:
- Ensure that the ELB is configured to forward the Origin header from the client request to your backend.
- You might need to add a new rule or update an existing one in your ELB's listener settings.
Related document links:
0
it's not helping me, origin i set up already, but your check health can touch server with header origin which allowed
answered 10 months ago
Relevant content
- asked 2 years ago
- asked 2 years ago