Rstudio Community SSL

Isn't it time to allow the following options in rserver.conf for Rstudio Server Community?


No software should be encouraging the use of http anymore now that most of us work from home and will continue to post-covid.

Will I get away with doing the following in /etc/httpd/conf.d ?

<VirtualHost 136.x.x.x:443>

    <Proxy *>
        Order deny,allow
        Allow from all

#RStudio redirect
RedirectMatch permanent ^/rstudio$ /rstudio/
    RewriteEngine on
    RewriteCond %{HTTP:Upgrade} =websocket
    RewriteRule /rstudio/(.*)     ws://localhost:8787/$1  [P,L]
    RewriteCond %{HTTP:Upgrade} !=websocket
    RewriteRule /rstudio/(.*)     http://localhost:8787/$1 [P,L]
    SSLEngine on
    SSLProxyEngine On
    SSLCertificateFile /etc/letsencrypt/live/
    SSLCertificateKeyFile /etc/letsencrypt/live/

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass /rstudio/ http://localhost:8787/
    ProxyPassReverse /rstudio/ http://localhost:8787/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.