diff --git a/odoo/nginx/odoo.conf b/odoo/nginx/odoo.conf index 00e7307..fb1001a 100644 --- a/odoo/nginx/odoo.conf +++ b/odoo/nginx/odoo.conf @@ -30,7 +30,8 @@ server { proxy_set_header X-Real-IP ${DOLLSIGN}remote_addr; location / { proxy_pass http://${ODOO_SERVICE}server; - proxy_redirect off; + # proxy_redirect off; + proxy_redirect http://${DOLLSIGN}http_host/ https://${DOLLSIGN}host:${DOLLSIGN}server_port/; } location /longpolling { proxy_pass http://${ODOO_SERVICE}longpoll;