콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
1991 화면

I'm trying to get the website editor working while using Cloudflare tunnel. I keep getting the a "Mixed Content" error, meaning something is requesting http, and for some reason the request is not getting rewritten to https.

I have cloudflare setup correctly to do HTTPS rewrites. I'm not using nginx. My system parameter "web.base.url" is set to use https, and "web.base.url.freeze" is set to 1 to prevent that from being modified.

I can't figure it out.

아바타
취소
베스트 답변

I had the same problem, you need to do the following:


1. Open cloudflare and select your site

2. Go to Rules - Redirect Rules

3. Create a new rule with the following options:


If custom filter expression URI equals example.com/*


Then...

URL redirect

Type: Static

URL: www.example.com/$1

Status code: 302



Be sure to replace example.com with your domain.




아바타
취소
베스트 답변

In cloudflare website dashboard, go to : rules--> Transform rules-->Modify response header and createnew rule with this parameters :

if All incoming requests Then

add hader name Content-Security-Policy value upgrade-insecure-requests

Have a nice day

아바타
취소
관련 게시물 답글 화면 활동
1
4월 25
209
0
3월 25
383
2
9월 24
918
1
9월 24
1298
0
8월 24
668