It's looks like wordpress problem. Not your conf. Did you figure it out <span></span>the problem if set your wordpress into https mode?<br><br>On Thursday, November 20, 2014, JACK LINKERS <<a href="mailto:jacklinkers@gmail.com">jacklinkers@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><font color="#000000" style="background-color:rgb(255,255,255)">Hello,</font><div><font color="#000000" style="background-color:rgb(255,255,255)"><br></font></div><div><font color="#000000" style="background-color:rgb(255,255,255)">I try to force SSL redirect on my website, but I'm getting a <span style="font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px">ERR_TOO_MANY_REDIRECTS.</span></font></div><div><font color="#000000" style="background-color:rgb(255,255,255)"><span style="font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px"><br></span></font></div><div><font color="#000000" style="background-color:rgb(255,255,255)"><span style="font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px">I can't figure what's wrong, h</span></font><span style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px">ere is my vhost .conf file :</span></div><div><span style="font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="line-height:18px;background-color:rgb(255,255,255)"><font face="Helvetica, Arial, sans-serif" color="#000000"><div>server {</div><div><span style="white-space:pre-wrap"> </span>listen *:80;</div><div> <span style="white-space:pre-wrap"> </span>listen *:443 ssl;</div><div><br></div><div><span style="white-space:pre-wrap"> </span>ssl on;</div><div><span style="white-space:pre-wrap"> </span>ssl_protocols TLSv1 TLSv1.1 TLSv1.2;</div><div> <span style="white-space:pre-wrap"> </span>ssl_certificate /var/www/clients/client2/web1/ssl/domain.tld.crt;</div><div> <span style="white-space:pre-wrap"> </span>ssl_certificate_key /var/www/clients/client2/web1/ssl/domain.tld.key;</div><div><br></div><div><span style="white-space:pre-wrap"> </span># Disables all weak ciphers</div><div><span style="white-space:pre-wrap"> </span>ssl_ciphers "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4";</div><div><span style="white-space:pre-wrap"> </span>ssl_prefer_server_ciphers on;</div><div><span style="white-space:pre-wrap"> </span></div><div> <span style="white-space:pre-wrap"> </span>server_name <a href="http://web-plus.pro" target="_blank">web-plus.pro</a> <a href="http://www.web-plus.pro" target="_blank">www.web-plus.pro</a>;<br></div><div><br></div><div><span style="white-space:pre-wrap"> </span>rewrite ^ https://$server_name$request_uri? permanent;<br></div><div><br></div><div> root /var/www/domain.tld/web;</div><div> index index.html index.htm index.php index.cgi <a href="http://index.pl" target="_blank">index.pl</a> index.xhtml;</div><div><br></div><div> location ~ \.shtml$ { ssi on; }</div><div><br></div><div> error_page 400 /error/400.html;</div><div> error_page 401 /error/401.html;</div><div> error_page 403 /error/403.html;</div><div> error_page 404 /error/404.html;</div><div> error_page 405 /error/405.html;</div><div> error_page 500 /error/500.html;</div><div> error_page 502 /error/502.html;</div><div> error_page 503 /error/503.html;</div><div> recursive_error_pages on;</div><div> location = /error/400.html {</div><div><br></div><div> internal;</div><div> }</div><div> location = /error/401.html {</div><div><br></div><div> internal;</div><div> }</div><div> location = /error/403.html {</div><div><br></div><div> internal;</div><div> }</div><div> location = /error/404.html {</div><div><br></div><div> internal;</div><div> }</div><div> location = /error/405.html {</div><div><br></div><div> internal;</div><div> }</div><div> location = /error/500.html {</div><div><br></div><div> internal;</div><div> }</div><div> location = /error/502.html {</div><div><br></div><div> internal;</div><div> }</div><div> location = /error/503.html {</div><div><br></div><div> internal;</div><div> }</div><div><br></div><div> error_log /var/log/ispconfig/httpd/domain.tld/error.log;</div><div> access_log /var/log/ispconfig/httpd/domain.tld/access.log combined;</div><div><br></div><div> location ~ /\. {</div><div> deny all;</div><div> access_log off;</div><div> log_not_found off;</div><div> }</div><div><br></div><div> location = /favicon.ico {</div><div> log_not_found off;</div><div> access_log off;</div><div> }</div><div><br></div><div> location = /robots.txt {</div><div> allow all;</div><div> log_not_found off;</div><div> access_log off;</div><div> }</div><div><br></div><div> location /stats/ {</div><div><br></div><div> index index.html index.php;</div><div> auth_basic "Members Only";</div><div> auth_basic_user_file /var/www/clients/client2/web1/web/stats/.htpasswd_stats;</div><div> }</div><div><br></div><div> location ^~ /awstats-icon {</div><div> alias /usr/share/awstats/icon;</div><div> }</div><div><br></div><div> location ~ \.php$ {</div><div> try_files /8861c6a67e54f5712a3f7875c91adaf9.htm @php;</div><div> }</div><div><br></div><div> location @php {</div><div> try_files $uri =404;</div><div> include /etc/nginx/fastcgi_params;</div><div> fastcgi_pass unix:/var/lib/php5-fpm/web1.sock;</div><div> fastcgi_index index.php;</div><div> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;</div><div> fastcgi_intercept_errors on;</div><div> }</div><div><br></div><div> location /cgi-bin/ {</div><div> try_files $uri =404;</div><div> include /etc/nginx/fastcgi_params;</div><div> root /var/www/clients/client2/web1;</div><div> gzip off;</div><div> fastcgi_pass unix:/var/run/fcgiwrap.socket;</div><div> fastcgi_index index.cgi;</div><div> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;</div><div> fastcgi_intercept_errors on;</div><div> }</div><div><br></div><div> <span style="white-space:pre-wrap"> </span>pagespeed on;</div><div><br></div><div> <span style="white-space:pre-wrap"> </span>pagespeed RewriteLevel PassThrough;</div><div> <span style="white-space:pre-wrap"> </span>pagespeed EnableFilters inline_css,inline_javascript,combine_css,extend_cache,rewrite_images;</div><div> <span style="white-space:pre-wrap"> </span>pagespeed EnableFilters rewrite_css,rewrite_javascript;</div><div> <span style="white-space:pre-wrap"> </span>pagespeed EnableFilters add_head,inline_import_to_link;</div><div><br></div><div> location /blog {</div><div> <span style="white-space:pre-wrap"> </span>try_files $uri $uri/ /blog/index.php?$args;</div><div> }</div><div><br></div><div><span style="white-space:pre-wrap"> </span>rewrite /wp-admin$ $scheme://$host$uri/ permanent;</div><div><br></div><div> location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {</div><div> <span style="white-space:pre-wrap"> </span>add_header "" "";</div><div> }</div><div> location ~ "^/ngx_pagespeed_static/" {</div><div> }</div><div> location ~ "^/ngx_pagespeed_beacon$" {</div><div> }</div><div> location /ngx_pagespeed_statistics {</div><div> <span style="white-space:pre-wrap"> </span>allow 127.0.0.1; deny all;</div><div> }</div><div> location /ngx_pagespeed_global_statistics {</div><div> <span style="white-space:pre-wrap"> </span>allow 127.0.0.1; deny all;</div><div> }</div><div> location /ngx_pagespeed_message {</div><div> <span style="white-space:pre-wrap"> </span>allow 127.0.0.1; deny all;</div><div> }</div><div> location ~* \.(jpg|jpeg|png|gif|ico|css|js|ttf|otf|svg|webp)$ {</div><div> <span style="white-space:pre-wrap"> </span>expires 365d;</div><div> }</div><div><br></div><div><br></div><div>}</div><div><br></div><div>Thanks in advance for your help !</div></font></span></div></div>
</blockquote><br><br>-- <br>Sent from iDewangga Device<br>