Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6127 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
paź 24
963
4
lis 17
5911
1
mar 24
1416
0
lut 23
1547
0
gru 20
1670