-
Notifications
You must be signed in to change notification settings - Fork 2
/
nginx.conf
52 lines (47 loc) · 903 Bytes
/
nginx.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
server
server_name 127.0.0.1
listen 4040
allowed_methods GET
allowed_methods POST
error_page 404 ./www/error/error.html
root ./www/
index index.html
client_max_body_size 90000000
dir_listing on
location /upload
root ./www/
index upload.html
allowed_methods GET
allowed_methods POST
dir_listing on
location /login
root ./www/
index login.html
allowed_methods GET
dir_listing on
server
server_name 0.0.0.0
listen 4041
allowed_methods POST
allowed_methods GET
root ./www/
error_page 404 error404.html
index index2.html
client_max_body_size 900000
allowed_methods DELETE
dir_listing on
location /redir
root ./www/
index index2.html
allowed_methods GET
dir_listing off
redir https://profile.intra.42.fr
server
server_name 0.0.0.0
listen 4042
allowed_methods POST
allowed_methods GET
root ./www/
index index.html
client_max_body_size 10
dir_listing on