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

227
Visualizações
AWS S3 - Website-Redirect-Location header ignoring all other metadata?

I have a bucket on S3 that is configured to be a static website. I'd like to have any requests to the root domain automatically redirect to a subfolder, for instance example.com => example.com/campaign.

This can be accomplished by applying the Website-Redirect-Location metadata to the root index.html object. However when I apply this all other metadata values I add appear to be getting ignored. Is this the intended behavior? Can I not apply other metadata if I'm doing a redirect?

In my particular use-case, I'd like to be able to apply Cache-Control and Expires headers on my index.html object so I can change the redirect value (for instance, change the redirect to example.com => example.com/new-campaign) and have browsers invalidate their cache. Is there any way to accomplish this with S3?

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