pi -hole Steuerung über REST API
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"/tasmota1": {
|
||||
"target": "http://10.0.0.31",
|
||||
"secure": false,
|
||||
"changeOrigin": true,
|
||||
"pathRewrite": {
|
||||
"^/tasmota1": ""
|
||||
}
|
||||
},
|
||||
"/tasmota2": {
|
||||
"target": "http://10.0.0.32",
|
||||
"secure": false,
|
||||
"changeOrigin": true,
|
||||
"pathRewrite": {
|
||||
"^/tasmota2": ""
|
||||
}
|
||||
},
|
||||
"/pihole": {
|
||||
"target": "http://10.0.0.60",
|
||||
"secure": false,
|
||||
"changeOrigin": true,
|
||||
"pathRewrite": {
|
||||
"^/pihole": ""
|
||||
}
|
||||
},
|
||||
"/api": {
|
||||
"target": "http://directus.neugasse.lan",
|
||||
"secure": false,
|
||||
"changeOrigin": true,
|
||||
"pathRewrite": {
|
||||
"^/api": ""
|
||||
},
|
||||
"headers": {
|
||||
"Authorization": "Bearer KGjpxZ3tesmhEXHS7C7JbKDyW6YJlgQT"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user