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

Hello togehter,


I setup odoo on Ubuntu Server on a VM behind NAT.

To access Odoo I use cloudflare tunnel which works to access everything needed.

However there is some mixed content for example on the website builder.


Is it possible to get a workaround without the need of nginx or apache?


Mixed Content: The page at 'https://hub.mydomain.com/web?debug=assets#action=313&cids=1&menu_id=224' was loaded over HTTPS, but requested an insecure frame 'http://hub.mydomain.com/'. This request has been blocked; the content must be served over HTTPS.

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

This happens when you have mixed content references on your page. When you access a website via https:// you can not have any links or references to http:// within your site. 

as an example, if you're using a reverse proxy (i.e. nginx proxy manager) and you proxy it to odoo via http:// not enabling the rewrite module could result in this issue.

Saying that, with the cloudflare tunnel there is an option in SSL/TLS -> Edge Certificates -> Automatic HTTPS Rewrites which will help fix mixed content. Try enabling this and see if this fixes it.

I would check to see if this is enabled on your service.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 24
1087
4
thg 11 17
6085
1
thg 3 24
1519
0
thg 2 23
1667
0
thg 12 20
1782