File: valid.config

package info (click to toggle)
node-shiny-server 1.5.20.1002-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,740 kB
  • sloc: javascript: 7,112; sh: 933; cpp: 303; python: 155; makefile: 34
file content (29 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (2)
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
run_as shiny;

server {
  listen 3838;

  location /a {
    # Top-level location; this is a real one
    site_dir /srv/shiny-server;
    log_dir /var/log/shiny-server;
    directory_index on;
    app_idle_timeout 30;

    location /b {
      # Second-level location takes precedence over top
      app_dir /b;
      app_idle_timeout 5;
    }

    location /c {
      # Second-level location takes precedence over top
      app_dir /c;
    }

    location /d {
      # Second-level location takes precedence over top
      directory_index false;
    }
  }
}