-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathapplication.yml
More file actions
98 lines (85 loc) · 2.21 KB
/
application.yml
File metadata and controls
98 lines (85 loc) · 2.21 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
eureka:
client:
registerWithEureka: false
serviceUrl:
defaultZone: https://localhost:999/eureka/
apiml:
service:
id: cloud-gateway
port: 10023
hostname: localhost
scheme: https
corsEnabled: true
ignoredHeadersWhenCorsEnabled: Access-Control-Request-Method,Access-Control-Request-Headers,Origin
cloudGateway:
serviceRegistryEnabled: false
forwardClientCertEnabled: false
server:
port: ${apiml.service.port}
ssl:
clientAuth: want
keyAlias: localhost
keyPassword: password
keyStore: ../keystore/localhost/localhost.keystore.p12
keyStorePassword: password
keyStoreType: PKCS12
trustStore: ../keystore/localhost/localhost.truststore.p12
trustStorePassword: password
trustStoreType: PKCS12
# Custom properties for tests only
clientKeyStore: ../keystore/client_cert/client-certs.p12
clientCN: apimtst # case-sensitive
clientKeyStorePassword: password
#For testing forwarded headers with (un)trusted proxies
test:
proxyAddress: 6.6.6.6
trustedProxiesPattern: 6\.6\.6\.6
spring:
main:
allow-bean-definition-overriding: true
allow-circular-references: true
cloud:
gateway:
discovery:
locator:
enabled: false
lowerCaseServiceId: true
application:
name: cloudGateway
logging:
level:
org.springframework.cloud.gateway: DEBUG
reactor.netty: DEBUG
org.springframework.security: DEBUG
management:
endpoint:
gateway:
enabled: true
endpoints:
web:
base-path: /application
exposure:
include: health,gateway
---
spring:
profiles: attlsServer
server:
attlsServer:
enabled: true
ssl:
enabled: false
apiml:
service:
corsEnabled: true
---
spring:
profiles: attlsClient
server:
attlsClient:
enabled: true
apiml:
service:
scheme: http
nonSecurePortEnabled: true
securePortEnabled: false
discoveryServiceUrls: http://localhost:10011/eureka/