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

222
Visualizações
working with nginx and xip.io causing redirect issue

SO I am testing out an app doing oauth with google. Don't have a domain for them yet but I can somewhat get it to work with xip.io. I'd like to see if I can use Nginx to direct and redirect traffic from xip.io. Right Now the test works but I have to manually remove the xio.io after the call from the browser, in other words.

The application starts here:

  • http://IP-Address:3000/login/
  • When you hit log in, it makes a call to http://IPAddress.xip.io:8001/api/login/google
  • I have to manually remove the .xio.io and the app can continue.
  • Google authorizes and redirects back to http://IP-Address.xip.io:8001/api/login/google/callback?.......
  • I again have to remove the xip.io so that the app continues.

I'd like to be able to somehow have Nginx maybe intercept this request and redirect them so I don't have to remove the xip.io from the URL so that the app can proceed.

any thoughts?

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