Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
1951 Lượt xem

I am currently experiencing an issue with accessing the Website and ecommorce modules.


I am seeing this in the console


Mixed Content: The page at 'https://marketing.websitename.com/web#action=350&cids=1&menu_id=235' was loaded over HTTPS, but requested an insecure frame 'http://marketing.websitename.com/'. This request has been blocked; the content must be served over HTTPS.


file reference is: web.assets_common.min.js...


error takes me to line 1388 -  nodeInsertBefore.call(parent, el, afterNode);

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

here is my fix, and it worked

i added this to the server block in nginx conf file. 

proxy_redirect http:// https://;

or you can make it more strict to do it only on your domain, for example in my case it will be: 

proxy_redirect http://skyerp.net https://skyerp.net;



i tested it and it worked. so try it out

If you found this post helpfull please upvote it

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello @James Quinlan,


Thanks for your reply, but I try this method which is not working. I am using an Apache service. Please help me to solve the problem.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

You need to modify your server configuration.

In the nginx conf file, within the location block, you should add the line

add_header Content-Security-Policy upgrade-insecure-requests;


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 25
3628
2
thg 3 24
4795
6
thg 6 25
30864
8
thg 2 25
24140
2
thg 12 24
6366