Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6196 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
lokak. 24
1027
4
marrask. 17
5976
1
maalisk. 24
1445
0
helmik. 23
1607
0
jouluk. 20
1717