Giter Site home page Giter Site logo

nginx_odoo's Introduction

NGINX PARA ODOO

Nginx como reverse proxy para Odoo ๐Ÿค–๐Ÿ‘จ๐Ÿฝโ€๐Ÿ’ป

Configuracion del archivo default.conf para Reverse Proxy de Odoo

Centos ๐Ÿ”ง

sudo yum install epel-release
sudo yum install nginx
cd /etc/nginx/conf.d/
git clone https://github.com/mamfredym/nginx_odoo
cd nginx_odoo/
sudo cp /etc/nginx/conf.d/nginx_odoo/default.conf /etc/nginx/conf.d/default.conf
cd ..
mv default default-temp
mv default.conf default
sudo service ngnix restart

Ubuntu ๐Ÿš€

sudo apt-get install nginx
cd /etc/nginx/sites-available
git clone https://github.com/mamfredym/nginx_odoo
cd nginx_odoo/
sudo cp /etc/nginx/sites-available/nginx_odoo/default.conf /etc/nginx/sites-available/default.conf
cd ..
mv default default-temp
mv default.conf default
nginx -s reload

Ajustes de IP y Subdominio en Nginx ๐Ÿ“–

  • Reemplazar SUBDOMAIN.DOMAIN.COM por el dominio un registro con www y otro sin www
  • Reemplazar IP_PUBLIC_PRIVATE por la IP por donde se conectan a Odoo, si es por IP publica o es por IP Privada si cuenta con infraestructura propia
  • Puede tambien dependiendo la capacidad del servidor, cambiar el timing de 3600 a 720s
  • Luego de cambiar los valores REINICIAR NGINX โ™ป๏ธ

Configuracion en Odoo ๐Ÿ’พ

Abrir archivo de config de Odoo

nano /etc/odoo/odoo.conf

Cambiar/Adicionar estos parametros en el archivo de configuracion de Odoo

xmlrpc_interface = 127.0.0.1
netrpc_interface = 127.0.0.1
proxy_mode = True

Reiniciar Odoo

sudo service odoo restart

nginx_odoo's People

Contributors

mamfredym avatar

Watchers

 avatar

Forkers

mctechnodev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.