@Dophaminum

Как встроить iframe с https?

пытаюсь втроить на страницу сайта iframe - содержания -

- как видно их кода с HTTPS.
страница тут https://tuningtruckservice.com/test.html
но как вижно из консоли, говорит что там не HTTPS а HTTP , - Mixed Content: The page at 'https://tuningtruckservice.com/test.html' was loaded over HTTPS, but requested an insecure frame 'inradius.space/impact3/application'. This request has been blocked; the content must be served over HTTPS.

Да как так-то ,?! всю голову сломал, что ему не нравится? работает через cloudflare, на сервере установлен nginx, там прокси на ip 192.168.0.xxx

конфиг в https
location /impact3 {
proxy_set_header User-Agent $http_user_agent;
proxy_set_header Accept-Language $http_accept_language;
proxy_pass http://192.168.0.177:80;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass_request_headers on;
}
  • Вопрос задан
  • 150 просмотров
Пригласить эксперта
Ответы на вопрос 1
@risejs
В DevTools (вкладка Network) посмотрите, там редирект (Status Code 302) на http (Response Headers > Location).
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы