Last active
June 27, 2018 11:49
-
-
Save toopay/84b64e5d3897b1cb8af30a10dcc10837 to your computer and use it in GitHub Desktop.
Connect API Kongfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mandatory Consumer | |
consumers: | |
- acls: [] | |
credentials: [] | |
custom_id: "0" | |
username: anonymous | |
apis: | |
# Main Endpoint | |
- attributes: | |
methods: | |
- OPTIONS | |
- GET | |
- POST | |
- PUT | |
- PATCH | |
- DELETE | |
upstream_url: http://$upstream_host/api | |
uris: | |
- /connect-api | |
name: connect-api | |
plugins: | |
- name: key-auth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment