Setting up an nginx reverse proxy

While Odoo itself can serve web pages, it's strongly recommended that there is a reverse proxy positioned in front of it. A reverse proxy acts as an intermediary that manages the traffic between clients sending requests and the Odoo servers responding to them. Using a reverse proxy has several benefits.

On the security side, it can do the following:

  • Handle (and enforce) HTTPS protocols to encrypt traffic
  • Hide the internal network characteristics
  • Act as an application firewall, limiting the URLs accepted for processing

Also, on the performance side, it can provide the following significant improvements:

  • Cached static content, hence reducing the load on the Odoo servers
  • Compressed content to speed up loading ...

Get Odoo 12 Development Essentials - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.