{
"listeners": {
"127.0.0.1:8090": {
"pass": "upstreams/ldapauth"
},
"*:9090": {
"pass": "routes/usersrv"
}
},
"upstreams": {
"ldapauth": {
"servers": {
"127.0.0.1:8091": {},
"127.0.0.1:8092": {
"weight": 2
}
}
}
},
"routes": {
"usersrv": [
{
"match": {
"uri": [
"*.php",
"*.php/*"
]
},
"action": {
"pass": "applications/usersrv/direct"
}
},
{
"action": {
"share": "/path/to/webroot/webroot",
"fallback": {
"pass": "applications/usersrv/index"
}
}
}
]
},
"applications": {
"usersrv": {
"type": "php",
"targets": {
"direct": {
"root": "/path/to/webroot/webroot"
},
"index": {
"root": "/path/to/webroot/webroot",
"script": "index.php"
}
}
}
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
tippexs/unit-cli
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A CLI tool for NGINX Unit
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published