Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

177
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!