-
Notifications
You must be signed in to change notification settings - Fork 1
/
testconfig.conf
48 lines (36 loc) · 921 Bytes
/
testconfig.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
server {
listen 443
index index.html index.php
root /var/www/
error_page 404 404.html
location /dir/website/1/ {
autoindex on
}
location /dir/website/x/ {
autoindex off
}
location /dir/website2/ {
autoindex off
limit_except GET POST
}
}
server {
listen 80
index index.html index.php
error_page 404 404.html
error_page 500 500.html
client_max_body_size 1m
location /dir/website12345/ {
autoindex off
limit_except GET POST DELETE
}
}
server {
listen 1234
index index.html index.php
root /var/www/
error_page 404 404.html
location /dir/website3/site/ {
limit_except GET POST
}
}