File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ # Instruct Shiny Server to run applications as the user "shiny"
2+ run_as shiny;
3+ http_keepalive_timeout 600;
4+ preserve_logs true;
5+
6+ # Define a server that listens on port 3838
7+ server {
8+ listen 3838;
9+
10+ # Define a location at the base URL
11+ location / {
12+
13+ # Host the directory of Shiny Apps stored in this directory
14+ site_dir /srv/shiny-server;
15+
16+ # Log all Shiny output to files in this directory
17+ log_dir /var/log/shiny-server;
18+
19+ # When a user visits the base URL rather than a particular application,
20+ # an index of the applications available in this directory will be shown.
21+ directory_index on;
22+ disable_websockets off;
23+ app_init_timeout 1800;
24+ app_idle_timeout 1800;
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments