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

224
Visualizações
GCP VM Redirect all the request to another URL

We have internal load balancer, where the request is coming to a instance group which is basically the sets of VM.

Load Balancer -> Instance Group (our service is running on the Port 8080)

Since we need to redirect one of the request to some other domain, this is done in order to test our new service

Load Balancer -> Send Request to VM 1 at port 8080 -> Redirect it newservice.com/filter=<with arguments>

              -> VM 2 and VM 3 service is running on port 8080

What's the correct way to do that ? Since new service is not in the same gcp project, any help how we should achieve it ?

I have simple nginx configuration :

server {
 listen 80;
 server_name MY-MACHINE-IP (VM 1)
 return      301 https://newService.com$request_uri;;
}

But no redirection is happening

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

There are only 3 ways to make cross-project connections possible: Shared VPC, Cloud VPN or VPC Peering. You may choose the option that most suits your use-case. I would try VPC Peering first.

Shared VPC

Cloud VPN

VPC Peering

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