Created
December 21, 2022 04:37
-
-
Save bhvngt/4c467091ab84ae8f66de9036874a81e3 to your computer and use it in GitHub Desktop.
kong.yaml config for realtime
This file contains 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
- name: realtime-v1 | |
_comment: "Realtime: /realtime/v1/* -> ws://realtime:4100/socket/*" | |
url: http://realtime-dev.realtime:4000/socket/ | |
routes: | |
- name: realtime-v1-all | |
strip_path: true | |
paths: | |
- /realtime/v1/ | |
plugins: | |
- name: cors | |
- name: key-auth | |
config: | |
hide_credentials: false | |
- name: acl | |
config: | |
hide_groups_header: true | |
allow: | |
- admin | |
- anon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment