0 Members and 1 Guest are viewing this topic.
Trying to use .htaccess to redirect to SSL site, but i get too many redirects, why? Works with Apache alone.I use:<IfModule mod_rewrite.c>RewriteCond %{HTTPS} !=onRewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]</IfModule>
Quote from: fossxplorer (formerly 'Mella') on 2015-09-06, 00:06:39Trying to use .htaccess to redirect to SSL site, but i get too many redirects, why? Works with Apache alone.I use:<IfModule mod_rewrite.c>RewriteCond %{HTTPS} !=onRewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]</IfModule>In nginx-proxy, access to port 443 handle by nginx where nginx to apache always use port 30080
Page created in 0.025 seconds with 19 queries.