[FIX]Odoo redirect on port too...
This commit is contained in:
parent
cf360c39a2
commit
7d607778c2
@ -30,7 +30,8 @@ server {
|
|||||||
proxy_set_header X-Real-IP ${DOLLSIGN}remote_addr;
|
proxy_set_header X-Real-IP ${DOLLSIGN}remote_addr;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://${ODOO_SERVICE}server;
|
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 {
|
location /longpolling {
|
||||||
proxy_pass http://${ODOO_SERVICE}longpoll;
|
proxy_pass http://${ODOO_SERVICE}longpoll;
|
||||||
|
Loading…
Reference in New Issue
Block a user