How to configure shiny-server so that the top-level domain URL will be the main shiny app?

shiny-server

#1

I've seen lots of shiny server setup instructions, and usually the setup is like so:

Any shiny apps go under /srv/shiny-server/myapp , the resulting apps are available from http://example.com/shiny/myapp .

How should I set up my server config file and the folder structure so that I can serve a single main app from http://example.com ? Bonus points if I can also host other shiny apps (not the main one) at
http://example.com/apps

Thanks!

(I've asked this question a very long time ago but got no answers, so trying again)