Skip to content

Commit

Permalink
Create shiny-server.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleknight authored Jun 3, 2020
1 parent 75a0fb7 commit c5a42c3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions shiny-server.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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
# Installed RaMP pagkage is copied into 'shiny-server'.
# the 'shinyApp' directory contains ui.R required to render.
site_dir /usr/local/lib/R/site-library/IntLIM/shinyApp;

# 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 off;
}
}

0 comments on commit c5a42c3

Please sign in to comment.