-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.conf
47 lines (42 loc) · 804 Bytes
/
conf.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
server {
listen 8001;
host 127.0.0.1;
server_name test1;
error_page 404 500 501 /error/404.html;
client_max_body_size 1024;
root docs;
index index.html;
error_page 404 501 /error/405.html;
location /tour {
root docs/autresite;
allow_methods POST GET;
index index.html;
redirect abc/index1.html;
alias docs/fusion_web;
}
location /tours {
autoindex on;
}
location /cgi-bin {
root ./;
autoindex on;
cgi_path /usr/bin/python3 /bin/bash;
cgi_ext .py .sh;
}
}
server
{
listen 8087;
host 127.0.0.1;
server_name test2;
error_page 404 500 501 /error/404.html;
client_max_body_size 1024;
root docs;
index index.html;
}
server { {
listen 8110;
host 0.0.0.0;
server_name test2;
index index.html;
} }