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

198
Visualizações
Node.js server deployed on Amazon EC2 instance, swagger not displaying anything

I have developed Node.js App using the Express framework and documented using "swagger-jsdoc" and "swagger-ui-express". Swagger UI is loading on my localhost:3000/v1/docs and working properly.

Now, I deployed it to the Amazon EC2 instance (Ubuntu, Linux), all APIs are hitting and working properly but "myamazonurl.com/v1/docs" are redirecting to Swagger UI but not displaying anything.

I configured pm2 and Nginx as well.

Errors coming in console and network are the same and they are attached.

First hit to the URL

enter image description here

On reloading the page

enter image description here

Is there any additional configuration or something is required to run Swagger UI? What is the issue?

I'll be thankful...

about 4 years ago · Juan Pablo Isaza
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