Skip to content

Commit 6ef809c

Browse files
ShimShteinvkrizan
authored andcommitted
Add smart-proxy basic interface
1 parent 77e58d4 commit 6ef809c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

nginx/common.d/60-smart-proxy.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
location /features {
2+
default_type application/json;
3+
return 200 '["insights"]';
4+
}
5+
6+
location /v2/features {
7+
default_type application/json;
8+
return 200 '{ "insights": { "http_enabled": false, "https_enabled": true, "settings": {}, "state": "running", "capabilities": [] } }';
9+
}

0 commit comments

Comments
 (0)