-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshiny-server.conf
More file actions
33 lines (25 loc) · 1015 Bytes
/
shiny-server.conf
File metadata and controls
33 lines (25 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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 /numerical/ {
# Host the directory of Shiny Apps stored in this directory
site_dir /srv/transfer.server/R/numerical/;
# 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;
}
location /categorical/ {
# Host the directory of Shiny Apps stored in this directory
site_dir /srv/transfer.server/R/categorical/;
# 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;
}
}