commit
6e5204fd85
@ -596,5 +596,15 @@
|
||||
"fd00::/8",
|
||||
"fe80::/64"
|
||||
]
|
||||
},
|
||||
"openApi": {
|
||||
"enable": true,
|
||||
"enableUI": true,
|
||||
"endpoints": {
|
||||
"asc.web.api": "/openapi/asc.web.api/common.json",
|
||||
"asc.people": "/openapi/asc.people/common.json",
|
||||
"asc.files": "/openapi/asc.files/common.json",
|
||||
"asc.data.backup": "/openapi/asc.data.backup/common.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -268,6 +268,26 @@ server {
|
||||
proxy_pass http://127.0.0.1:5000;
|
||||
}
|
||||
|
||||
location /openapi {
|
||||
proxy_pass http://127.0.0.1:5003;
|
||||
|
||||
location ~*/asc.web.api {
|
||||
proxy_pass http://127.0.0.1:5000;
|
||||
}
|
||||
|
||||
location ~*/asc.people {
|
||||
proxy_pass http://127.0.0.1:5004;
|
||||
}
|
||||
|
||||
location ~*/asc.files {
|
||||
proxy_pass http://127.0.0.1:5007;
|
||||
}
|
||||
|
||||
location ~*/asc.data.backup {
|
||||
proxy_pass http://127.0.0.1:5012;
|
||||
}
|
||||
}
|
||||
|
||||
location /api/2.0 {
|
||||
location ~* /(files|privacyroom) {
|
||||
proxy_pass http://127.0.0.1:5007;
|
||||
|
Loading…
Reference in New Issue
Block a user