Optimizing Your Odoo Setup: A Guide to NGINX Configuration!

preview_player
Показать описание
Ready to supercharge your Odoo experience? Learn how to set up NGINX for Odoo in this step-by-step tutorial! NGINX is a powerful web server that enhances performance, security, and scalability. Watch now and take your Odoo deployment to the next level!

*NGINX configuration file contents:*

upstream odooserver {
server 127.0.0.1:8069;
}
server {
listen 80;

proxy_read_timeout 720s;
proxy_connect_timeout 720s;
proxy_send_timeout 720s;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
location / {
proxy_redirect off;
}
location ~* /web/static/ {
proxy_cache_valid 200 90m;
proxy_buffering on;
expires 864000;
}

gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on; }

*Command to copy NGINX file to sites-available:*

#odoo #NGINX #OptimizationTips #odooinstallation #odoodevelopment #odoonginx
Рекомендации по теме
Комментарии
Автор

Great tutorial.

Can you please create a video includes installing setup Nignix for odoo with Let's encrypt certificate and exposing the local server to the internet using reverse proxy using a domain from Godaddy or any domain provider ?

I would really appreciate it since i didn't find any complete tutorial on YouTube for this thing

Thank you !

kaustu
Автор

will the odoo chat with this configuration? dont you need to add websockets and a gavent port?

aliabdulla