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

135
Visualizações
Prevent Apache2 from redirecting to different port

so, for various reasons, i'm forced to host a website on an apache2 server (server A). this is not the server that is publicly accessible in my network, so another server (server B) is relaying requests to server A through a reverse proxy that i have written myself using express.js

server A exposes its website on port 8080, and server B is routing traffic from port 80 and 443 to it. SSL is completely handled by the proxy.

now, it seems like whenever apache uses a redirect to, for example, correct something in the url (turning https://example.com/something into https://example.com/something/) it appends :8080 after the domain. so it turns https://example.com/something into https://example.com:8080/something/

how can i prevent this from happening?

over 4 years ago · Santiago Trujillo
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