From 237a0e1782b9a8c4943d3beb483879f744cd4f47 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Fri, 4 Aug 2017 17:08:57 +0200 Subject: [PATCH] [FIX]Nginx Odoo base 443 redirection --- odoo/nginx/odoo.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/nginx/odoo.conf b/odoo/nginx/odoo.conf index d4ea2f6..af1cbc5 100644 --- a/odoo/nginx/odoo.conf +++ b/odoo/nginx/odoo.conf @@ -9,7 +9,7 @@ upstream ${ODOO_SERVICE}longpoll { server { listen ${NGINX_PORT}; server_name ${ODOO_SERVER_NAMES}; - return 301 https://${DOLLSIGN}host${DOLLSIGN}request_uri; + return 301 https://${DOLLSIGN}host:${NGINX_SSL_PORT}${DOLLSIGN}request_uri; } server {