If you put your Sync Gateway(s) behind an nginx proxy, you'll need to configure 
nginx to pass WebSocket connections. Andrew Reslan found instructions here 
<http://nginx.com/blog/websocket-nginx/> on the nginx website.

(Come to think of it, you'll also need to configure nginx to pass through the 
Server: response header, otherwise Couchbase Lite won't know it's talking to 
Sync Gateway and won't even try to use WebSockets (nor several other 
replication optimizations.)

We should have an article in our docs on using nginx with Sync Gateway, but for 
now I'm posting this.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CE7E95BC-A851-49E9-83D4-230CF734B224%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to