Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

378
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda