Цитата |
---|
RewriteEngine On RewriteBase / RewriteCond %{HTTP:X-HTTPS} !1 RewriteCond %{REQUEST_URI} !^/bitrix/admin/1cv7_exchange.php$ RewriteRule ^(.*)$ RewriteCond %{HTTP:X-HTTPS} 1 [NC] RewriteCond %{REQUEST_URI} ^/bitrix/admin/1cv7_exchange.php$ RewriteRule ^(.*)$ мне помогло такое решение Правило в htaccess для редиректа сайта на https |
Выдает такой ответа сервера:
HTTP/1.1 301 Moved Permanently
Server: nginx/1.10.1
Date: Tue, 16 May 2017 12:46:24 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Location: