You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
"root_folder": "./www",
|
|
|
|
"servers": [
|
|
|
|
{
|
|
|
|
"server_name": "localhost",
|
|
|
|
"listens": [
|
|
|
|
"localhost:8080"
|
|
|
|
],
|
|
|
|
"root": "public/",
|
|
|
|
"return": "301 https://$host$uri"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"server_name": "localhost",
|
|
|
|
"listens": [
|
|
|
|
"192.168.62.61:8080",
|
|
|
|
"localhost",
|
|
|
|
"555"
|
|
|
|
],
|
|
|
|
"root": "public/testsite",
|
|
|
|
"indexs": [
|
|
|
|
"basique.html"
|
|
|
|
],
|
|
|
|
"cgi": {
|
|
|
|
".php": "/usr/bin/php-cgi"
|
|
|
|
},
|
|
|
|
"client_max_body_size": 100,
|
|
|
|
"locations": {
|
|
|
|
"docs/": {
|
|
|
|
"root": "public/documents/",
|
|
|
|
"autoindex": true
|
|
|
|
},
|
|
|
|
"img/": {
|
|
|
|
"root": "public/images/",
|
|
|
|
"autoindex": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|