Skip to content

Nginx.conf setting #351

Description

@dirkliebich

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.

···

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions