-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkong.yaml
More file actions
126 lines (126 loc) · 3.42 KB
/
kong.yaml
File metadata and controls
126 lines (126 loc) · 3.42 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
_format_version: "1.1"
consumers:
- acls:
- group: read
jwt_secrets:
- algorithm: RS256
key: curl
rsa_public_key: |-
{
"kid": "riUxziXTW9nhFrA3ClZvJkvWj8dxkMeI_62HIPGo7dY",
"kty": "RSA",
"alg": "RS256",
"use": "sig",
"n": "wQGAIgO_raadQRH_xpxw6hYUllZmMgWbo8LlDaepPZC5HpCmQbHI6Lbb9k-AQaJmNvKeceP_CKCrp48V-1RTjsf6l_96vif4f0J3joB1OT7ZQIKCbBEOIDbsMdnhZpxJFvWkGy4f2aKKAwY6lXl6xwx9zOewCV0qGVqW0vIxMDu9zJxjILnXMKZP3HNqlpN_6csTXvio7HiaItWP_NKRsRVV_zRwFd14rch5D4mmfa1ILH-d8DLcTsoVp2b7Fao1DPf5Z4SiNwdW-9MqvkPrGFFOlctIUhhodx3avF6nHcnhs7KQO77vILeQBiat-B-mlVcEwUOSqXQY5lIdFFJRBQ",
"e": "AQAB",
"x5c": [
"MIICmzCCAYMCBgGBTYuJATANBgkqhkiG9w0BAQsFADARMQ8wDQYDVQQDDAZtYXN0ZXIwHhcNMjIwNjEwMTIxNDU5WhcNMzIwNjEwMTIxNjM5WjARMQ8wDQYDVQQDDAZtYXN0ZXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDBAYAiA7+tpp1BEf/GnHDqFhSWVmYyBZujwuUNp6k9kLkekKZBscjottv2T4BBomY28p5x4/8IoKunjxX7VFOOx/qX/3q+J/h/QneOgHU5PtlAgoJsEQ4gNuwx2eFmnEkW9aQbLh/ZoooDBjqVeXrHDH3M57AJXSoZWpbS8jEwO73MnGMgudcwpk/cc2qWk3/pyxNe+KjseJoi1Y/80pGxFVX/NHAV3XityHkPiaZ9rUgsf53wMtxOyhWnZvsVqjUM9/lnhKI3B1b70yq+Q+sYUU6Vy0hSGGh3Hdq8XqcdyeGzspA7vu8gt5AGJq34H6aVVwTBQ5KpdBjmUh0UUlEFAgMBAAEwDQYJKoZIhvcNAQELBQADggEBABQa/Cd15Wz21BgqIZ7IZpP/uDBKIdCt1oUwoW575TVoAb0QvL/M3Q770nJefQN726kloKDLWbo7l+YljKsJw3CBddSVQ4hG7PS5yWRtj4+nJsvWWfaSOiio7VOLQLU6VenzpTqjA5NSvfQRf6tbIB+R4Db56mqzQv78EsOeNbybWDiAYHeM/DFXh+MDSrGYuqJGQmb1ILnx/uj7EI69KWTp5rz81inIIDwcqwVCM7hOyan297/NvYe4/2d7lob/f6EGoIS2qvwmD6/AA918iuu0CXEMRnS9glp9U36eNHK/r1a4ZFqrDspGciOnfiKCeYpJ13BMUERVShXf15i6Z2Y="
],
"x5t": "OrJPJsQ00rxhgcCvFCLkApZoDzc",
"x5t#S256": "Pwk6aO61b2KJSa1GHy3JuQRFA4KNG9xtFiOjT5bxDF0"
}
secret: x2LsUgmbzoM2Z6LpCGuip32viVkJWhhJ
username: curl
plugins:
- config:
custom_fields_by_lua: {}
path: /dev/stdout
reopen: false
enabled: true
name: file-log
protocols:
- grpc
- grpcs
- http
- https
- config:
content_type: application/json
custom_fields_by_lua: {}
flush_timeout: 2
headers: {}
http_endpoint: http://elasticsearch:9200/kong/_doc/
keepalive: 60000
method: POST
queue_size: 1
retry_count: 10
timeout: 10000
enabled: true
name: http-log
protocols:
- grpc
- grpcs
- http
- https
- config:
anonymous: null
claims_to_verify:
- exp
cookie_names: []
header_names:
- authorization
key_claim_name: username
maximum_expiration: 0
run_on_preflight: true
secret_is_base64: false
uri_param_names:
- jwt
enabled: true
name: jwt
protocols:
- grpc
- grpcs
- http
- https
- config:
body: null
content_type: null
echo: true
message: null
status_code: 200
trigger: null
enabled: true
name: request-termination
protocols:
- grpc
- grpcs
- http
- https
route: foo-bar-root
service: foo-bar
services:
- connect_timeout: 60000
enabled: true
host: foo.bar
name: foo-bar
plugins:
- config:
allow:
- read
deny: null
hide_groups_header: false
enabled: true
name: acl
protocols:
- grpc
- grpcs
- http
- https
port: 80
protocol: http
read_timeout: 60000
retries: 5
routes:
- https_redirect_status_code: 426
name: foo-bar-root
path_handling: v0
paths:
- /foo-bar
preserve_host: false
protocols:
- http
- https
regex_priority: 0
request_buffering: true
response_buffering: true
strip_path: true
write_timeout: 60000