How to set up the Nginx server for the Odoo application.

Updated 26 July 2023

Once your Odoo is configured and running on the IP with port then proceed with Nginx configuration. Confused?? How to install Odoo? Click on this link to explore and understand.

Nginx:

A high-performance web server called NGINX was created to meet the growing demands of the modern web. High performance, lots of parallelisms, and sparse resource utilization are its main priorities.

NGINX is a reverse proxy server at its core, despite being primarily recognized as a web server.

But, there are other web servers available besides NGINX. The 1995-first-released Apache HTTP Server (httpd) is one of its main rivals.

Although Apache HTTP Server is more flexible, server administrators frequently favor NGINX for the following two reasons:

  • It is able to manage more concurrent queries.
  • It uses fewer resources and delivers static content more quickly.

Step 1: Install and configure Nginx with reverse proxy.

First, use the command below to install nginx on the server.

Then, Create/Edit the domain server block.

Copy the configuration from below, paste it into your file, and make the necessary adjustments. Below mentioned configuration will work for the Odoo version >= 16.0

If you have installed the Odoov <= 15.0, Then use the below-mentioned configuration file.

Once you’re done with the Nginx configuration, test the Nginx configuration & restart the Nginx service with the blow mentioned command.

For configuring the Free Self-signed certificates from let’s encrypt, Please click on this link.

Restart the Odoo server as well as the PostgreSQL service.

Once both services are up, hit the domain in the browser.

Note – Do not forget to open the 80 & 443 ports from the AWS console in Security Group.

After login, you will get the below-attached page.

If you find this blog helpful, Please give us your valuable time to provide us feedback for the same.

Need Support?

Thank You for reading this Blog!

For further more interesting blogs, keep in touch with us. If you need any kind of support, simply raise a ticket at https://webkul.uvdesk.com/en/.

You may also visit our Odoo development services and quality Odoo Extensions.

For further help or query, please contact us or raise a ticket.

Category(s) AWS cloud linux Odoo Odoo
author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project






    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home