Created
March 27, 2014 17:48
-
-
Save johandahlberg/9813703 to your computer and use it in GitHub Desktop.
My Shiny Server conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instruct Shiny Server to run applications as the user "shiny" | |
run_as shiny; | |
# 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; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment