So after pulling out the little bit of hair I had left.... I finally solved why I could not get Nginx reverse proxy to work with sync gateway running on EC2. (Nginx was returning 502 errors) Nginx was getting a permission denied from the upstream server (SG). I'm posting this here to help anyone down the line who runs into this.
I needed to run the following: sudo setsebool httpd_can_network_connect on -P Then it started working. I don't know enough about Nginx to know if my default setting is different on my setup versus others. I haven't seen anyone report needing to do this. It might be a good idea to maybe comment on this in the SG/Nginx docs on the web site. Todd -- 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/678f9f5c-63a3-4f83-8a38-64ae8bdea795%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
