Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

381
Views
My front end is served over HTTPS but my API is on HTTP (both on AWS ECS) so I am getting mixed content error. Is there an easy fix to this?

I didnt notice because locally the requests were going through fine because I was testing the app through http://localhost

This is all deployed on AWS ECS.

Front is end ReactJS btw, post request through axios to an api endpoint for a keras/tf model.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Yes, the easiest way to fix this issue to put your API server behind load balancr with HTTPS listenor, the error you get is because of http and https, as the frontend is listening on HTTPS and API on HTTP so browser throws errors as content is mixed.

The other option can be running frontend on HTTP but I'll not recommend this approach as it not secure.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!