forked from octoai/octoAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kong_config.yml
45 lines (45 loc) · 949 Bytes
/
kong_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
:clients:
- :name: Jaobng
:email: admin@jaobng.com
:password: yothisisnotapassword
:admin: false
:rate-limiting:
:day: 100000
:minute: 100
:second: 100
:hour: 10000
:month: 100000
:year: 1000000000
- :name: Octo
:email: api@octo.ai
:password: randompasswordhere
:admin: true
:apis:
- :name: events
:request_path: /events
:upstream_url: http://192.168.99.100:9001/events
- :name: UpdatePushToken
:request_path: /update_push_token
:upstream_url: http://192.168.99.100:9001/update_push_token
:plugins:
:key-auth:
:apis:
- :events
- :UpdatePushToken
:clients: all
:config:
:key_names: apikey
:cors:
:apis:
- :events
- :UpdatePushToken
:clients: all
:config:
:methods: 'GET,POST'
:origin: '*'
:rate-limiting:
:apis:
- :events
:clients:
- Jaobng
:kong: 192.168.99.100:8001