From ca727ca6fdd2cd9092d64f483a5184ee8191b1b5 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Tue, 20 Feb 2018 03:29:15 +0100 Subject: [PATCH] [FIX]Nginx Odoo DEV replace variable names --- odoo/nginx/odoo.conf.dev | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/odoo/nginx/odoo.conf.dev b/odoo/nginx/odoo.conf.dev index b0f7725..eef89f8 100644 --- a/odoo/nginx/odoo.conf.dev +++ b/odoo/nginx/odoo.conf.dev @@ -1,14 +1,14 @@ -upstream ${ODOO_SERVICE}server { - server ${ODOO_SERVICE}:8069 fail_timeout=300s; +upstream ${SERVICE}server { + server ${SERVICE}:8069 fail_timeout=300s; } -upstream ${ODOO_SERVICE}longpoll { - server ${ODOO_SERVICE}:8072 fail_timeout=300s; +upstream ${SERVICE}longpoll { + server ${SERVICE}:8072 fail_timeout=300s; } server { listen ${PORT}; - server_name ${ODOO_SERVER_NAMES}; + server_name ${SERVER_NAMES}; client_max_body_size 200M; proxy_read_timeout 720s; proxy_connect_timeout 720s; @@ -19,10 +19,10 @@ server { proxy_set_header X-Forwarded-Proto ${DOLLSIGN}scheme; proxy_set_header X-Real-IP ${DOLLSIGN}remote_addr; location / { - proxy_pass http://${ODOO_SERVICE}server; + proxy_pass http://${SERVICE}server; proxy_redirect off; } location /longpolling { - proxy_pass http://${ODOO_SERVICE}longpoll; + proxy_pass http://${SERVICE}longpoll; } }