[FIX]Nginx Odoo base 443 redirection

This commit is contained in:
Fabien BOURGEOIS 2017-08-04 17:08:57 +02:00
parent 1e2c373ee7
commit 237a0e1782
1 changed files with 1 additions and 1 deletions

View File

@ -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 {