cozy / cozy-docs

Deprecated - Go to https://github.com/cozy/cozy-docs-v3
http://docs.cozy.io
19 stars 40 forks source link

Nginx configuration should allow websocket #35

Open aenario opened 10 years ago

aenario commented 10 years ago

This appears to be the case when installed from installed from the fabfile (https://github.com/cozy/cozy-setup/blob/master/fabfile.py#L585-L586)

But not on the lxc install docs (https://github.com/cozy/cozy-docs/blob/40c66489fb3a07d490c11fa498c0f1ba3bc50d60/src/documents/host/install.html.md#lxc-image)

May be also add a few lines about it somewhere "If you use a reverse-proxy, make sure it supports websockets."

Original issue : https://github.com/cozy/cozy-calendar/issues/99 @bnjbvr, could you tell us which install you used ?

bnjbvr commented 10 years ago

I've used the LXC install. My setup looks like this:

Internet --> Nginx on my VPS --> Nginx on the LXC instance --> cozy

The nginx server on the LXC instance was properly configured from the beginning. The one for which I had to change configuration was the one on my VPS. I think it would make sense to just add a note in the LXC section for these users. Thanks for taking this issue into account :)