본문 바로가기

프로그래밍/자바스크립트

Mixed Content: The page at your domain was loaded over HTTPS 혼합콘텐츠 해결방법



Mixed Content: The page at 'https://www.aaaaaaaaaa.co.kr/' was loaded over HTTPS,
but requested an insecure script 'http://dmaps.daum.net/map_js_init/postcode.v2.js'.
This request has been blocked; the content must be served over HTTPS.

구글 크롬에서 https 환경에서 http가 있으면 막는 현상

혼합콘텐츠라고 해서 https 도메인 소유자가 http 환경을 같이 사용할 경우 막는 현상이 발생함


해결방법

before -> http://dmaps.daum.net/map_js_init/postcode.v2.js 소스에 이런 도메인 사용시

after - > //dmaps.daum.net/map_js_init/postcode.v2.js 이런식으로 변경해주면 됨.