Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

ERR_TOO_MANY_REDIRECTS

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
elamigosam21
Posts: 23
Joined: Mon Nov 21, 2016 5:47 am

Os: CentOS 6x
Web: apache + nginx
ERR_TOO_MANY_REDIRECTS
  • Quote

Post by elamigosam21 » Fri Jan 19, 2018 1:08 am

This page isn’t working
website.com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

I keep getting this error,

Centos 7
---php 7 ----
Server Version: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/7.0.27
VESTACP 0.9.8

I have tried:
clear cookies
incognito mode

I setup the account with forced-https enabled template
I setup the domain, then go back and get ssl cert from lets encrypt.

then I go and test the default site, default vestacp index.html
and keep getting the same error.

too many redirects.
no .htaccess file, and added an htaccess file and same result.

however
when I enable cloudflare and set full ssl on the domain,
it works ok, but it shows cloudflare ssl cert.

any ideas?

thanks
Top

noogen
Posts: 66
Joined: Thu Jan 05, 2017 9:20 pm

Re: ERR_TOO_MANY_REDIRECTS
  • Quote

Post by noogen » Fri Jan 19, 2018 11:47 pm

You may have some kind of ssl redirect incorrectly/miss configured in nginx or some other configuration (.htaccess)?
Top

vesta_mtl
Posts: 70
Joined: Wed Dec 21, 2016 2:08 pm

Re: ERR_TOO_MANY_REDIRECTS
  • Quote

Post by vesta_mtl » Sun Jan 21, 2018 2:11 am

I believe this is normal behaviour. When you pass a website through Cloudflare, it will show the Cloudflare SSL. But you need to use "Full" for SSL in Cloudflare to avoid the too many redirects error.

If you want to have Let's Encrypt SSL, then uncheck the orange cloud for your domain in Cloudflare (A record and www cname) and wait a couple of minutes. Verify that your site is loading without a Cloudflare IP address.

Then, in Vesta go to the domain and tick the boxes for Let's Encrypt SSL. It will be able to create the SSL and when you visit the site it will be the Let's Encrypt SSL.

Once that is done, I recommend you check the orange clouds in Cloudflare again for those benefits (even if it uses Cloudflare SSL, which is fine).
Top

elamigosam21
Posts: 23
Joined: Mon Nov 21, 2016 5:47 am

Os: CentOS 6x
Web: apache + nginx
Re: ERR_TOO_MANY_REDIRECTS
  • Quote

Post by elamigosam21 » Sun Jan 21, 2018 6:37 am

vesta_mtl wrote:I believe this is normal behaviour. When you pass a website through Cloudflare, it will show the Cloudflare SSL. But you need to use "Full" for SSL in Cloudflare to avoid the too many redirects error.

If you want to have Let's Encrypt SSL, then uncheck the orange cloud for your domain in Cloudflare (A record and www cname) and wait a couple of minutes. Verify that your site is loading without a Cloudflare IP address.

Then, in Vesta go to the domain and tick the boxes for Let's Encrypt SSL. It will be able to create the SSL and when you visit the site it will be the Let's Encrypt SSL.

Once that is done, I recommend you check the orange clouds in Cloudflare again for those benefits (even if it uses Cloudflare SSL, which is fine).
hey it worked, thanks a lot!
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password