Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

Configure the Odoo container with Nginx container

  • All Blogs
  • Tech Blog
  • Configure the Odoo container with Nginx container
  • March 5, 2021 by
    Administrator
    upstream odoo {
      server <host-public-ip>:8069;
    }
    
    server {
       listen 80;
       server_name your.domain.net;
       return 301 https://your.domain.net$request_uri;
    }
    
    server {
        listen              443 ssl;
        server_name         your.domain.net;
    
        access_log /var/log/nginx/your.domain.net.access.log;
        error_log /var/log/nginx/your.domain.net.error.log;
    
        # SSL optimization
        keepalive_timeout   70;
    
        # SSL keys and options
        ssl_certificate     /home/boostthis/ssl.cert;
        ssl_certificate_key /home/boostthis/ssl.key;
        ssl_protocols       SSLv3 TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers         HIGH:!aNULL:!MD5;
    
        # odoo server proxying
        location / {
            proxy_pass http://odoo;
    
            # you may define cache rules
            #if ( $uri ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ ) {
            #    expires 2w;
            #}
    
            proxy_ignore_headers X-Accel-Redirect;
            proxy_redirect http:// https://;
            include /etc/nginx/proxy_params;
    
        }
    
    }
    
    
    https://bitbucket.org/xcgd/odoo/issues/10/configure-the-odoo-container-with-nginx
    
    
    
    in Tech Blog
    How To Create A .deb Package From Source & Install It Automatically

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)