-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.conf
More file actions
executable file
·36 lines (32 loc) · 826 Bytes
/
Copy pathconf.conf
File metadata and controls
executable file
·36 lines (32 loc) · 826 Bytes
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
server {
port 7070
host 127.0.0.1
server_name example.com www.example.com webserver.com
max_client_body_size 1
root /Users/fbougrai/Desktop/last/webserver/
location /webserver {
root /Users/fbougrai/Desktop/last/webserver/
autoindex on
method GET POST
client_body_in_file_only on
upload_path /Users/fbougrai/Desktop/last
cgi on
}
location /redirect {
return 302 webserver
}
}
server {
port 7070
host 127.0.0.1
server_name example2.com webserver2.com
root /Users/fbougrai/Desktop/last/webserver/
max_client_body_size 60
location /webserver {
root /Users/fbougrai/Desktop/last/webserver/
autoindex on
method GET POST
client_body_in_file_only off
cgi off
}
}