forked from ncats/IntLIM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75a0fb7
commit c5a42c3
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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; | ||
} | ||
} |