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

180
Visualizações
How Do I Fix Nginx Site Redirecting Too Many Times On Vue App

This is a vue application running on nginx ubuntu 18.04. Here is the code snippet from the nginx config for the site. I noticed that when visiting the site, I would get a message stating "too many redirects". This will only happen when visiting the non https version of this site.

Im on a custom droplet on digital ocean if that helps.

Im not sure where to go from here. If you need any more information, I can provide.

Thanks for everyone's time.

    listen 443 ssl;
    listen [::]:443;
    index index.html;
    server_name www.digyt.co  digyt.co;
    ssl_certificate /etc/ssl/certs/ssl-bundle.crt;
    ssl_certificate_key /etc/nginx/ssl/digyt_co/digyt_co.key;
    ssl_prefer_server_ciphers on;
    location / {
        proxy_pass http://localhost:3000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}

server {
    listen 80;
    server_name  www.digyt.co;
    return 301 $scheme://digyt.co$request_uri permanent;
}

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