[FIX]Odoo dev nginx proxy needs http_host to keep custom port
This commit is contained in:
parent
1f0b22509c
commit
2a50029fa1
@ -13,8 +13,8 @@ server {
|
||||
proxy_read_timeout 720s;
|
||||
proxy_connect_timeout 720s;
|
||||
proxy_send_timeout 720s;
|
||||
proxy_set_header Host ${DOLLSIGN}host;
|
||||
proxy_set_header X-Forwarded-Host ${DOLLSIGN}host;
|
||||
proxy_set_header Host ${DOLLSIGN}http_host;
|
||||
proxy_set_header X-Forwarded-Host ${DOLLSIGN}http_host;
|
||||
proxy_set_header X-Forwarded-For ${DOLLSIGN}proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto ${DOLLSIGN}scheme;
|
||||
proxy_set_header X-Real-IP ${DOLLSIGN}remote_addr;
|
||||
@ -24,5 +24,6 @@ server {
|
||||
}
|
||||
location /longpolling {
|
||||
proxy_pass http://odoolongpoll;
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user