documentation
documentation copied to clipboard
[16.0] install doc for nginx: add map $http_upgrade $connection_upgrade
I think you should add this part to the nginx sample configuration as the current one is not working without this:
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
https://www.nginx.com/blog/websocket-nginx/
Hi @jcdrubay , thank you for your feedback.
Hello @d-fence Unless I'm mistaken, I think this is for you :)
FYI @Julien00859
I disagree. My Odoo 16 install works without that. AFAIK WebSocket is only required for the chat box.
Thanks for the follow-up @zeroheure
Isn't the chatbox installed/available in most of odoo installations with the module mail?
I tried without that nginx configuration and it seems to work well now. So maybe it was related to a defect that was fixed.
Maybe this configuration is not required anymore after https://github.com/odoo/odoo/commit/a26c8aa18ad6
I will monitor more in coming days.
Isn't the chatbox installed/available in most of odoo installations with the module mail?
Sorry, I was talking about the website chatbox, which use WebSocket now, instead of longpolling in previous versions.
The issue was raised internally by other developers, I'm +1 we add it to the example nginx snippet
#2807