-
Notifications
You must be signed in to change notification settings - Fork 1
/
guided_tour.conf
57 lines (49 loc) · 987 Bytes
/
guided_tour.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
server {
listen 3007
server_name endineks.42.fr localhost
index start_here.html
root examples
autoindex on
cgi .py python3
cgi .php php
error_page 404 notfound.html
location /request {
index request.html
autoindex off
}
location /cgi {
autoindex off
index what_is_cgi.html
error_page 500 custom_500.html
}
location /session {
autoindex off
index cookie.html
}
}
server {
listen 3008
index redirected.html
root examples
redirect examples/redirect
error_page 404 notfound.html
location /methods {
index get.html
root examples
limit_except GET POST
autoindex off
}
}
server {
listen 3009
index hello.html
root examples
location /methods {
error_page 404 custom_404.html
client_max_body_size 200
autoindex off
}
location /autoindex {
autoindex on
}
}