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

265
Visualizações
Is it possible to host the contents of a Google Cloud Storage Bucket as a 'subfolder' in the url hierarchy of an App Engine Nodejs/Expressjs app?

Essentially, I would like map the url customdomain.com/gcdownload/* to a gc storage bucket so that the download actually comes from the customdomain.com site, rather than from storage.googleapis.com/%bucketname%. Eg. mapping customdomain.com/gcdownload/a/b/c.pdf to %bucketname%/a/b/c.pdf while still serving c.pdf from customdomain.com.

I did successfully rewrite the download request urls to the storage bucket urls but then the downloads are cross-site requests to the storage.googleapis.com domain so doesn't achieve the goal.

Any way to configure the storage bucket/app engine domain/app code to support serving the static files of a storage bucket as a 'subfolder' of a custom domain?

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

0

I think you can do this if you put a Google Cloud Load Balancer in front of your GAE.

You would first have to setup a GCLB with a serverless NEG for your app engine services:

https://cloud.google.com/load-balancing/docs/negs#serverless-neg

You would then add a backend bucket to your GCS bucket:

https://cloud.google.com/load-balancing/docs/https/ext-load-balancer-backend-buckets

You would then setup the URL map of the GCLB to route /gcdownload/* to your backend bucket and all other traffic to your app engine.

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