Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6116 Tampilan

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.

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Okt 24
958
4
Nov 17
5900
1
Mar 24
1415
0
Feb 23
1540
0
Des 20
1660