-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebserv.conf
72 lines (62 loc) · 1.33 KB
/
webserv.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
server {
server_name localhost example.com
listen 127.0.0.1:8081
error_page 404 404.html
index index.php index.html youpi.bad_extension
usr navalnyA:lubluSolenya # bmF2YWxueUE6bHVibHVTb2xlbnlh
location / {
root html
index index.html
method GET
max_body_size 10M
}
location /put_test/ {
root html
method PUT
upload_storage storage
index index.php index.html
}
location /post_body/ {
method POST
max_body_size 100
cgi_extensions .bla
cgi_path cgi_tester
}
location /directory/ {
method GET POST
root html/YoupiBanane
index youpi.bad_extension
cgi_extensions .bla
cgi_path cgi_tester
}
location .*\.php$ {
root html/php
method GET POST
cgi_extensions .php
cgi_path /usr/bin/php
}
location .*\.bla$ {
root html/YoupiBanane
method GET POST
cgi_extensions .bla
cgi_path cgi_tester
}
}
server {
listen 127.0.0.1:8082
server_name example.com
location / {
method GET
root html
index index.html
}
}
server {
listen 127.0.0.1:8083
server_name example.com
location / {
method GET
root html
index index.html
}
}