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

We created an module where we want to access some model data from website. It is called by using ID of document i.e. https://server/mymodule/1, but it translates it to http://server/mymodule/my-entry-1. Due to that we are getting "Blocked loading mixed active content" in browser. Where can I set that url will be always redirected to https instead of http?

odoo v9

OS: centos 7

apache reverse proxy

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

Fixed it by adding "Header edit Location ^http://<hostname> https://<hostname>" directive. But i'm still curious, why response is not encrypted while it is requested from encrypted location.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 23
3021
3
thg 7 20
12727
0
thg 4 20
4161
19
thg 5 24
96470
3
thg 6 17
14719