server:
  http2:
    enabled: true
  ssl:
    key-store: classpath:keystore.p12
    key-store-type: pkcs12
    key-store-password: password
    key-alias: bootapp

management:
  endpoint:
    health:
      show-details: when_authorized
    gateway:
      enabled: true
  endpoints:
    web:
      exposure:
        include: "*"

spring:
  cloud:
    gateway:
      httpserver:
        wiretap: true
      httpclient:
        wiretap: true
        ssl:
          use-insecure-trust-manager: true
# Requires faking domain name (modifying /etc/hosts)
#          trustedX509Certificates:
#            - classpath:public.cert

logging:
  level:
    reactor.netty: DEBUG
    org.springframework.cloud.gateway.filter: DEBUG
