shiny-test / shiny-server.conf
rajistics's picture
Update shiny-server.conf
a9d30c6
raw
history blame
No virus
571 Bytes
# Instruct Shiny Server to run applications as the user "shiny"
run_as user;
# Define a server that listens on port 3838
server {
listen 3838;
# Define a location at the base URL
location / {
# Host the directory of Shiny Apps stored in this directory
site_dir /srv/shiny-server;
# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;
# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index on;
}
}