This article is adapted from the Shiny Server Administrator's Guide for version 1.4.2.
We recommend reading through the relevant sections of the Shiny Server Administrator's Guide to gain a complete understanding of how to operate Shiny Server. However, if would like to get running quickly, you can follow one of the guides listed below.
All of these guides contain examples that will help you customize your Shiny Server configuration file, stored at
/etc/shiny-server/shiny-server.conf. By altering this file, you can control exactly how Shiny Server runs.
The following guides are available:
- Host a directory of applications - This is the default configuration that Shiny Server uses until you provide a custom configuration in
/etc/shiny-server/shiny-server.conf. This guide will show you how to serve multiple applications from a single directory on disk --
/srv/shiny-server/. If you are not sure where to start, we recommend this guide.
- Let users manage their own applications - This guide shows you how to serve Shiny applications that are created by your users and stored in their home directories.
- Run Shiny Server on multiple ports - This guide will introduce a multi-server configuration, which demonstrates how to run two distinct services from different ports on your server. It also configures one server with multiple locations.
And for Pro features:
- Require user authentication on an application - This example will help you set up a local username/password database, and use it to secure your applications.
- Host a secure Shiny Server - If you would like to set up a secure instance of Shiny Server that is encrypted with HTTPS (SSL/TLS), this guide will show you how.
- Host an Application Supported by Multiple R Processes - This guide will demonstrate how to scale a Shiny application to multiple R processes.