changed /longpolling url to /websocket and longpolling_port to gevent_port

This commit is contained in:
Yhael S
2023-08-29 03:22:11 -05:00
parent e04a64d952
commit cb0e40d74f
4 changed files with 12 additions and 10 deletions

View File

@@ -47,11 +47,11 @@ server {
proxy_pass http://odoo:8069;
}
location /longpolling {
location /websocket {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_pass http://odoo:8072;
}
}