To start, I've read and completed the following articles:
Setting up SSL on Nginx with DO: https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-nginx-for-ubuntu-12-04/
Setting up subdomains with DO: https://www.digitalocean.com/community/articles/how-to-set-up-and-test-dns-subdomains-with-digitalocean-s-dns-panel
Setting up CORS with nginx:
My nginx config looks similar to
If I connect to my droplet like: https://api.domain.org/some_api_call
Then it fails.
But...If I connect using https://api.domain.org:8001/some_api_call
Then it works just fine.
I'm relatively new to this, so I appreciate any help. Especially since I'm unsure whether this is a problem with how I've gone about configuring DO or nginx.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.