-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigfile.yaml
More file actions
62 lines (58 loc) · 1.3 KB
/
Copy pathconfigfile.yaml
File metadata and controls
62 lines (58 loc) · 1.3 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
server:
listen: 8080
host: 127.0.0.1
root: ./www
client_max_body_size: 1G
server_name: server1
location:
- path: /loc
- root: ./www
- listing_dir: on
- upload: on
- upload_path: upload
- autoindex: off
- methods: POST GET DELETE
- index: index.html
- cgi_path: .py, /usr/bin/python3
- cgi_path: .php, /usr/bin/php-cgi
- cgi_path: .sh, /usr/bin/bash
location:
- path: /
- root: ./www
- upload: on
- listing_dir: off
- autoindex: on
- upload_path: ./
- methods: POST GET
- index: index.html
- cgi_path: .py, /usr/bin/python3
- cgi_path: .php, /usr/bin/php-cgi
- cgi_path: .sh, /usr/bin/bash
server:
listen: 8081
host: 127.0.0.1
root: ./www
client_max_body_size: 1G
server_name: server2
location:
- path: /
- root: ./www
- upload: on
- autoindex: on
- listing_dir: on
- upload_path: ./
- methods: POST GET DELETE
- index: index.html
- cgi_path: .php, /usr/bin/php-cgi
location:
- path: /home
- root: ./www
- upload: on
- autoindex: off
- listing_dir: on
- upload_path: upload
- methods: POST GET DELETE
- index: index.html
- cgi_path: .py, /usr/bin/python3
- cgi_path: .php, /usr/bin/php-cgi
- cgi_path: .sh, /usr/bin/bash