I just bought a domain and am trying to set up HTTPS redirection on my R Plumber API hosted on Digital Ocean. I made sure that the droplet IP is pointing to the domain and checked that it works. So currently I can access the plumber API over HTTP. I have an SSL Certificate on DO with my domain name. I tried using a Load Balancer but that didn’t work. Any guidance for how I would proceed?
I also tried using the “do_connect_https” function from the plumberDeploy package, but I keep getting the error “Error: Authentication with ssh server failed”
I would be happy to provide any more details if needed. Thank you in advance.
For context, my function looks like this:
do_configure_https(
droplet(123456789),
"mydomainname.com",
"myemail@gmail.com",
TRUE)