Odoo documentation sources
Go to file
Julien Castiaux 896820000b [FIX] deploy: nginx forwarded-host with tcp port
Install nginx using the nginx configuration found in the documentation
and changes the `listen` port to 8080. Start Odoo in `--proxy-mode`.

    listen 8080;
    server_name mycompany.odoo.com;
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Real-IP $remote_addr;
    location / {
            proxy_pass http://127.0.0.1:8069;
    }

Inside your browser, access "http://mycompany.odoo.com:8080" you are
wrongly redirected to "http://mycompany.odoo.com:80".

Odoo uses the `X-Forwarded-Host` http header value to generate new URls,
in this configuration `$host` only contains the domain (=hostname using
the urllib terminology) instead of the domain+port (=netloc). The
variable that contains both the domain and the port is actually
`$http_host`.

closes odoo/documentation#6941

Closes: odoo/odoo#64643
X-original-commit: 09c42c5896
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-12-18 17:11:39 +00:00
.tx [I18N] theme: remove reference to translation 2023-03-09 12:00:58 +01:00
content [FIX] deploy: nginx forwarded-host with tcp port 2023-12-18 17:11:39 +00:00
extensions [IMP] odoo_theme: toctrees-l1,l2 design improvement 2023-11-21 11:54:25 +00:00
locale [FIX] dev/reference: Fix external reference 2023-11-17 17:56:59 +00:00
redirects [REF] Inventory: Restructure Inventory scope 2023-12-11 21:49:25 +00:00
static [FIX] accounting: cheat sheet reconcile 2023-12-13 09:40:26 +00:00
tests [IMP] tests: make review UX and resource files 2023-11-13 18:11:39 +00:00
.gitattributes [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-29 11:01:52 +02:00
.gitignore [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-29 11:01:52 +02:00
commit_template.txt [FIX] *: enforce 1 newline on files end 2022-11-18 18:04:49 +01:00
conf.py [IMP] supported_versions: release 17.0 2023-11-07 17:20:46 +00:00
COPYRIGHT [ADD] Add LICENSE and COPYRIGHT 2023-09-13 01:46:53 +00:00
LICENSE [ADD] Add LICENSE and COPYRIGHT 2023-09-13 01:46:53 +00:00
Makefile [IMP] tests: make review UX and resource files 2023-11-13 18:11:39 +00:00
README.md [IMP] README: remove version from links and rephrase explanations 2023-01-03 20:14:55 +01:00
requirements.txt [FIX] requirements: bump libsass to match odoo 2023-05-16 08:24:19 +02:00

Odoo documentation

Build the documentation locally

Requirements

  • Git
  • Python 3.6, 3.7, or 3.8
  • Python dependencies listed in the file requirements.txt.
  • Make
  • A local copy of the odoo/odoo repository (optional)

Instructions

  1. In a terminal, navigate to the root directory of the documentation and build it make. Additional commands are available with make help.
  2. Open the file documentation/_build/html/index.html in your web browser.
  3. See this guide for more detailed instructions.

Optional: place your local copy of the odoo/odoo repository in the parent directory or in the root directory of the documentation to build the latter with the documented Python docstrings.

Contribute to the documentation

For contributions to the content of the documentation, please refer to the Introduction Guide.

To report a content issue, request new content or ask a question, use the repository's issue tracker.

Learn More

To learn more about Odoo, in addition to the documentation, have a look at the official eLearning and Scale-up, The Business Game.