Opening RStudio using AWS' SSL certificate v2

Hey Cole!

If I use your suggestion, I'm redirected to the http version of the page when I type mydomain.com/rstudio and only if I click on the url and click enter again, then I'm redirected to the https page. And when I log in, my url changes to localhost:8787 and this is the page after logging in:

(and we know this problem, because you helped me fix it by adding more code in the vhost when I created the topic Opening RStudio using AWS' SSL certificate )

I know this is the configuration RStudio suggests, but unfortunately it didn't work for me. What worked was the configuration I pasted here in my first post. The only thing I'm not able to do is to run the app inside RStudio using https because of the websocket error.