in a digitalOcean droplet (with express and self signed ssl certs). This application must consume data from an api service contained in another droplet, but this last is not configured with ssl. Therefore the react app can't make any request to the api service since requests from https to http are not allowed. Currently I'm looking for a way to set the ssl certs on the api service droplet, but I don't know if this is the correct approach. You guys have another idea?
Maybe you can use let's encrypt
I think you should set up nginx and configure that with the SSL (may I suggest letsencrypt) and then keep your express service talking to your other API droplet without SSL
Обсуждают сегодня