Skip to content

Instantly share code, notes, and snippets.

@bhvngt
Created December 21, 2022 04:37
Show Gist options
  • Save bhvngt/4c467091ab84ae8f66de9036874a81e3 to your computer and use it in GitHub Desktop.
Save bhvngt/4c467091ab84ae8f66de9036874a81e3 to your computer and use it in GitHub Desktop.
kong.yaml config for realtime
- 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