forked from pig4cloud/pig-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pig-gateway-dev.yml
58 lines (53 loc) · 1.08 KB
/
pig-gateway-dev.yml
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
spring:
redis:
host: localhost
port: 6379
password: redis
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 20000
ribbon:
ReadTimeout: 20000
ConnectTimeout: 20000
zuul:
ignoredServices: '*'
host:
connect-timeout-millis: 20000
socket-timeout-millis: 20000
routes:
auth-service:
path: /auth/**
serviceId: pig-auth-service
stripPrefix: true
sensitiveHeaders:
pig-admin-service:
path: /admin/**
serviceId: pig-admin-service
stripPrefix: true
sensitiveHeaders:
ratelimit:
key-prefix: pig-ratelimite
enabled: false
repository: REDIS
behind-proxy: true
policies:
pig-admin-service:
limit: 100
quota: 1
refresh-interval: 3
security:
sessions: stateless
oauth2:
resource:
loadBalanced: true
user-info-uri: http://pig-auth-service/user
prefer-token-info: false
service-id: pig-gateway
server:
port: 9999
logging:
config: classpath:logback.xml