Created
June 6, 2017 18:49
-
-
Save vasantm/43a94acd7b9fcf573cdea2a200218425 to your computer and use it in GitHub Desktop.
shiny server configuration file
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 127.0.0.1; | |
# 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; | |
# sanitize errors? from :https://groups.google.com/forum/#!topic/shiny-discuss/9VTc0B4Yo4Q | |
sanitize_errors false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment