rajistics commited on
Commit
a9d30c6
1 Parent(s): d6dfb0c

Update shiny-server.conf

Browse files
Files changed (1) hide show
  1. shiny-server.conf +1 -38
shiny-server.conf CHANGED
@@ -1,58 +1,21 @@
1
  # Instruct Shiny Server to run applications as the user "shiny"
2
  run_as user;
3
 
4
- #preserve_logs true;
5
- #sanitize_errors false;
6
-
7
- template_dir /etc/shiny-server/templates;
8
-
9
  # Define a server that listens on port 3838
10
  server {
11
- listen 3838 127.0.0.1;
12
 
13
  # Define a location at the base URL
14
  location / {
15
- # Only up tp 20 connections per Shiny process and at most 3 Shiny processes
16
- # per application. Proactively spawn a new process when our processes reach
17
- # 90% capacity.
18
- utilization_scheduler 20 .9 3;
19
 
20
  # Host the directory of Shiny Apps stored in this directory
21
  site_dir /srv/shiny-server;
22
 
23
- # if a user is idle for x seconds (no interaction with server),
24
- # disconnect them from the server
25
- app_session_timeout 900;
26
-
27
- google_analytics_id "UA-59820529-4";
28
-
29
  # Log all Shiny output to files in this directory
30
  log_dir /var/log/shiny-server;
31
 
32
  # When a user visits the base URL rather than a particular application,
33
  # an index of the applications available in this directory will be shown.
34
  directory_index on;
35
-
36
- location /persistent-data-storage {
37
- utilization_scheduler 5 .9 7;
38
- }
39
- location /mimic-google-form {
40
- utilization_scheduler 10 .9 5;
41
- }
42
- location /authtest {
43
- required_user *;
44
- }
45
- location /ibis {
46
- required_user *;
47
- }
48
  }
49
- }
50
-
51
- # Setup a flat-file authentication system. {.pro}
52
- auth_passwd_file /etc/shiny-server/passwd;
53
-
54
- # Define a default admin interface to be run on port 4151. {.pro}
55
- admin 4151 {
56
- # Only permit the user named `admin` to access the admin interface.
57
- required_user admin;
58
  }
 
1
  # Instruct Shiny Server to run applications as the user "shiny"
2
  run_as user;
3
 
 
 
 
 
 
4
  # Define a server that listens on port 3838
5
  server {
6
+ listen 3838;
7
 
8
  # Define a location at the base URL
9
  location / {
 
 
 
 
10
 
11
  # Host the directory of Shiny Apps stored in this directory
12
  site_dir /srv/shiny-server;
13
 
 
 
 
 
 
 
14
  # Log all Shiny output to files in this directory
15
  log_dir /var/log/shiny-server;
16
 
17
  # When a user visits the base URL rather than a particular application,
18
  # an index of the applications available in this directory will be shown.
19
  directory_index on;
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
 
 
 
 
 
 
 
 
 
21
  }