I actually just got it working. I'll paste a gist soon to help others. Sent from my iPad
> On Oct 22, 2014, at 7:22 PM, Traun Leyden <[email protected]> wrote: > > A related ticket in case you haven't seen it: > > https://github.com/couchbase/sync_gateway/issues/439#issuecomment-57867740 > > Afaik Andy Reslan should be adding this soon. > > >> On Oct 22, 2014, at 4:57 PM, Jeremy Kelley <[email protected]> wrote: >> >> I've been wrestling with putting the sync gateway behind nginx today and am >> having no luck. >> >> Did anyone actually ever get this working? Any pointers you can share? >> >> Thanks, >> Jeremy >> >> >>> On Saturday, October 4, 2014 7:35:04 PM UTC-5, Jens Alfke wrote: >>> 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 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/4234717f-e7d1-47dc-8ab0-0bd280e17d37%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > -- > 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/8C72996D-76DE-472B-AF43-80BC4C6C747B%40gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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/25B5C20D-DCCB-4F1B-A5CE-64895ECDD490%40gmail.com. For more options, visit https://groups.google.com/d/optout.
