Is it possible to start two shiny applications to dispatch to different URLs?

I am using shiny server to start a shiny app. My module does

shinyApp(ui = ui, server = server)

and shiny server takes it from there. I assume it's just calling runApp on the returned object. Now the question is that shinyApp accepts a uiPattern, which dispatches to the ui if the URL matches the regexp passed.

I want to have two applications running under the same server, and I was hoping to create two shinyApp() with two different URLs so that shiny server would dispatch to the right ui depending on the URL the user types in. however, runApp does not say anything explicit about passing more than one shinyApp to runApp. Is it even possible?