英文:
Odoo 16 - Website editor - I cannot edit on my website
问题
I use Apache as reverse proxy, I'd installed Website on Odoo 16 and when I try to go to Editor it doesn't resolve the page.
At developer tools of my browser appears this error:
Mixed Content: The page at 'https://rcr.ar/web#action=178&cids=1&menu_id=116' was loaded over HTTPS, but requested an insecure frame 'http://rcr.ar/'. This request has been blocked; the content must be served over HTTPS.
Let me know if you need more information.
Best regards and thanks,
Emilio
I try to open Editor at Odoo Website
I expect to edit my website.
The page doesn't appear and results in an error of Mixed Content
英文:
I use Apache as reverse proxy, I'd installed Website on Odoo 16 and when I try to go to Editor it doesn't resolve the page.
At developer tools of my browser appears this error:
Mixed Content: The page at 'https://rcr.ar/web#action=178&cids=1&menu_id=116' was loaded over HTTPS, but requested an insecure frame 'http://rcr.ar/'. This request has been blocked; the content must be served over HTTPS.
Let me know if you need more information.
Best regards and thanks,
Emilio
I try to open Editor at Odoo Website
I expect to edit my website.
The page doesn't appears and result an error of Mixed Content
答案1
得分: 3
你需要将以下内容添加到httpd.conf中的headers_module中,使其如下所示:
<IfModule headers_module>
#
# 避免将HTTP_PROXY环境传递给此代理服务器上的CGI或任何有“httpoxy”缺陷的后端服务器。
# “Proxy”请求标头未由IETF定义,未在IANA列表中列出。
#
Header always set Content-Security-Policy "upgrade-insecure-requests;"
RequestHeader unset Proxy early
</IfModule>
我还为此问题创建了一个与bncert-tool相关的错误报告。
英文:
You need to add
Header always set Content-Security-Policy "upgrade-insecure-requests;"
to httpd.conf under IfModule headers_module to look like follows
<IfModule headers_module>
#
# Avoid passing HTTP_PROXY environment to CGI's on this or any proxied
# backend servers which have lingering "httpoxy" defects.
# 'Proxy' request header is undefined by the IETF, not listed by IANA
#
Header always set Content-Security-Policy "upgrade-insecure-requests;"
RequestHeader unset Proxy early
</IfModule>
I have also created a bug with bncert-tool for the same
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论