-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.conf
executable file
·56 lines (46 loc) · 956 Bytes
/
config.conf
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
server {
server_name youpi
listen 0.0.0.0:80
index index.html
root ./www3
location /put_test {
allow_methods PUT
root ./www3/put_here
}
location / {
client_body_buffer_size 1
allow_methods GET DELETE
autoindex on
cgi_methods POST
cgi_pass ./cgi_tester
cgi_ext .bla
}
location /directory {
allow_methods GET POST
root ./www3
index youpi.bad_extension
cgi_pass ./cgi_tester
cgi_ext .bla
}
location /post_body/ {
allow_methods POST
client_body_buffer_size 100
}
}
server {
server_name hey
listen 0.0.0.0:8000
index index.html
root ./www1
}
server {
server_name capybara
listen 0.0.0.0:8001
index index.html
root ./www2
location / {
client_body_buffer_size 1
allow_methods GET DELETE
autoindex on
}
}