[FIX]Odoo redirect on port too...

This commit is contained in:
Fabien BOURGEOIS 2017-07-01 16:12:03 +02:00
parent cf360c39a2
commit 7d607778c2

View File

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