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