mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 08:03:56 +08:00
22 lines
537 B
JSON
22 lines
537 B
JSON
{
|
|
"luci-app-nginx": {
|
|
"description": "Grant UCI/init/file access of nginx to luci-app-nginx",
|
|
"read": {
|
|
"ubus": {
|
|
"service": ["list"]
|
|
},
|
|
"uci": ["nginx"],
|
|
"file": {
|
|
"/etc/nginx/conf.d/*.locations": ["read"],
|
|
"/usr/bin/curl": ["exec"]
|
|
}
|
|
},
|
|
"write": {
|
|
"uci": ["nginx"],
|
|
"file": {
|
|
"/etc/nginx/conf.d/*.locations": ["write"]
|
|
}
|
|
}
|
|
}
|
|
}
|