-
Notifications
You must be signed in to change notification settings - Fork 1
/
hello.conf
41 lines (34 loc) · 821 Bytes
/
hello.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
server {
listen 3007
server_name lcouto.42.fr endineks.42.fr localhost
index hello.html
root examples
autoindex on
error_page 404 notfound.html
location /images {
limit_except GET
autoindex off
error_page 404 nocake.html
}
location /pdfs {
index webserv.pdf
}
location /session {
index testcookie.html
}
}
server {
listen 3008
index hello.html
root examples
redirect examples/redirect
error_page 404 notfound.html
location /images {
limit_except GET
autoindex on
error_page 404 nocake.html
}
location /pdfs {
index webserv.pdf
}
}