No 'Access-Control-Allow-Origin' header is present on the requested resource.
После перехода на https не отображается часть админки в консоле пишет
Failed to load site.ru/connectors/index.php: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://site.ru' is therefore not allowed access.
Правили ридеректа
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.site\.ru$ [NC]
RewriteRule ^(.*)$ site.ru/$1 [R=301,L]
RewriteEngine On
RewriteCond %{HTTP:X-HTTPS} !On
RewriteRule ^(.*)$ %{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Подскажите как решить?
Failed to load site.ru/connectors/index.php: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://site.ru' is therefore not allowed access.
Правили ридеректа
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.site\.ru$ [NC]
RewriteRule ^(.*)$ site.ru/$1 [R=301,L]
RewriteEngine On
RewriteCond %{HTTP:X-HTTPS} !On
RewriteRule ^(.*)$ %{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Подскажите как решить?
Комментарии: 2
Системная настройка server_protocol установлена правильно?
Установлено https
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.