Https://www + redirected you too many times

Hello I just enabled https for my website but I got error

The www.canthonet.com page isn’t working

www.canthonet.com redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS

Here is the config file in sites-available

server { server_name canthonet.com www.canthonet.com; access_log /var/log/nginx/canthonet.com.access.log rt_cache; error_log /var/log/nginx/canthonet.com.error.log;

root /var/www/canthonet.com/htdocs;
index index.php index.html index.htm;
include common/w3tc.conf;
include common/wpcommon.conf;
include common/locations.conf;
include /var/www/canthonet.com/conf/nginx/*.conf;

}

Below is the file force-ssl-canthonet.com.conf

server {

    listen 80;
    server_name www.canthonet.com canthonet.com;
    return 301 https://www.canthonet.com$request_uri;

}

Thanks

It looks like you already solved the issue. There is no redirection loop here, site displays just fine.

@Trung_Hai – Yeah, it looks like you’ve resolved your redirects issue. However, I noticed you do have insecure resources loading which you’ll want to fix up.

Thanks for your replies, seem it has been worked but I still get the cache version. Confirm site is working now.

@janiosarmento thanks, I’ve updated the url so it’s fine now.