forked from GSA-TTS/identity-idva-api-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkong-config.yaml
55 lines (55 loc) · 1.29 KB
/
kong-config.yaml
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
46
47
48
49
50
51
52
53
54
55
---
_format_version: "1.1"
services:
- name: sk-api
url: https://identity-idva-sk-api-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: sk-api-route
methods:
- GET
- POST
- PUT
- DELETE
- OPTIONS
hosts:
- idva-api-${ENVIRONMENT_NAME}.app.cloud.gov
protocols:
- http
- name: keycloak
url: https://identity-idva-keycloak-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: keycloak-route
paths:
- /realms
- /resources
- /robots.txt
strip_path: false
methods:
- GET
- POST
- PUT
- DELETE
- OPTIONS
hosts:
- idva-keycloak-${ENVIRONMENT_NAME}.app.cloud.gov
protocols:
- http
plugins:
- name: response-transformer
config:
add:
headers:
- X-Frame-Options:ALLOWALL
- name: authenticid
url: https://idva-kong-egress-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: authenticid-route
paths:
- /authenticid
strip_path: false
hosts:
- idva-${ENVIRONMENT_NAME}.app.cloud.gov
protocols:
- http
plugins:
- name: prometheus