-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.conf
More file actions
33 lines (30 loc) · 1.01 KB
/
Copy pathtest.conf
File metadata and controls
33 lines (30 loc) · 1.01 KB
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
server {
listen 8081 0.0.0.0;
server_name server1;
root www;
index /post_form.html;
error_pages 500 /error_pages/500.html;
request_method GET POST ;
autoindex off;
location /about {
error_pages 500 /error_pages/500.html;
index /about.html;
request_method GET POST DELETE;
autoindex off;
}
location /upload {
error_pages 500 /error_pages/500.html;
index /index.html;
request_method POST GET;
upload_store tmp/;
}
}
# server {
# listen 8082 0.0.0.0;
# server_name server2;
# root www/home2;
# index /index2.html;
# error_pages 404 /custom_404.html;
# request_method GET POST;
# autoindex off;
# }