I'm trying to get the website editor working while using Cloudflare tunnel. I keep getting the a "Mixed Content" error, meaning something is requesting http, and for some reason the request is not getting rewritten to https.
I have cloudflare setup correctly to do HTTPS rewrites. I'm not using nginx. My system parameter "web.base.url" is set to use https, and "web.base.url.freeze" is set to 1 to prevent that from being modified.
I can't figure it out.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
I had the same problem, you need to do the following:
1. Open cloudflare and select your site
2. Go to Rules - Redirect Rules
3. Create a new rule with the following options:
If custom filter expression URI equals example.com/*
Then...
URL redirect
Type: Static
URL: www.example.com/$1
Status code: 302
Be sure to replace example.com with your domain.
In cloudflare website dashboard, go to : rules--> Transform rules-->Modify response header and createnew rule with this parameters :
if All incoming requests Then
add hader name Content-Security-Policy value upgrade-insecure-requests
Have a nice day
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
4
juil. 25
|
1677 | ||
|
1
juil. 25
|
917 | ||
|
1
avr. 25
|
925 | ||
|
0
mars 25
|
891 | ||
|
1
sept. 24
|
1975 |