I originally had my Shiny Application set up on the open source shiny-server but ran into the load balancing issue. We upgraded to Connect to take advantage of load balancing, but now we can't figure out how to include a redirect in the configuration file.
When someone visits the website (www.example.com) it redirects them to www.example.com/content and asks them to login. I need it to redirect directly to the app, instead: www.example.com/myapp. How can I add this to my configuration file? It was simple in shiny-server open source, but I can't find documentation for Connect.
; RStudio Connect configuration file [Server] Address = https://dynamicfit.app ;LandingDir = /opt/rstudio-connect/myapp ;Server.LandingDir = /opt/rstudio-connect/myapp ;X-RSC-Request = https://dynamicfit.app/myapp ;None of these worked ;[HTTP] ;Listen = :3939 ;Turned off [HTTPS] Listen = :443 Permanent = true Certificate = /etc/letsencrypt/live/www.dynamicfit.app/fullchain.pem Key = /etc/letsencrypt/live/www.dynamicfit.app/privkey.pem [HTTPRedirect] Listen = :80 [Authentication] ; Do I need this? There is no password necessary to access the website. Provider = password