Configure a reverse proxy and SSL

In order to avoid all the information between the users' browsers and the Odoo server, that is to be sent in clear over the network, it is necessary to use the HTTPS protocol that encrypts the exchanges. Odoo cannot do this natively, and it is necessary to configure a reverse proxy that will handle the encryption and decryption on behalf of the Odoo server. This recipe shows how to use nginx (http://nginx.net) for this.

Getting ready

You should know the public name of the server and configure your DNS accordingly. In this recipe, we will use odoo.example.com as the name of your server.

If you want your Odoo instance to be visible by all browsers, you will need to get an SSL certificate signed by a recognized Certification ...

Get Odoo Development Cookbook 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.