Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx.conf setting #351

Open
iCUE-Solutions opened this issue Feb 13, 2024 · 1 comment
Open

Nginx.conf setting #351

iCUE-Solutions opened this issue Feb 13, 2024 · 1 comment

Comments

@iCUE-Solutions
Copy link

I'm running odoo in docker using HTTPS-portal for SSL support. All works fine, except the website editor. Turns out one must make the following change to the nginx.conf.

Question: can this be done via env variable?

How can I do it without recreating everything from scratch? Can I edit the running HTTPS-portal container and just start and stop?

Any help is greatly appreciated!

···

In the nginx conf file, you may add the line

add_header Content-Security-Policy upgrade-insecure-requests;

to your location block.

···

@SteveLTN
Copy link
Owner

SteveLTN commented Mar 5, 2024

Checkout this section of the doc.

This is the source code where custom config are injected into the Nginx config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants