| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- zuul:
- ignoredServices: '*'
- #default is Cookie,Set-Cookie,Authorization.
- #removed Authorization from senstiive headers
- sensitiveHeaders: 'Cookie,Set-Cookie'
- routes:
- admin:
- path: /admin/**
- serviceId: crss-admin
- reg:
- path: /reg/**
- serviceId: crss-reg
- metering:
- path: /metering/**
- serviceId: crss-metering
- scheduler:
- path: /sched/**
- serviceId: crss-sched
- hystrix:
- command:
- default:
- execution:
- isolation:
- thread:
- timeoutInMilliseconds: 300000
- ribbon:
- ConnectTimeout: 3000
- ReadTimeout: 60000
- maxAutoRetries: 1
- MaxAutoRetriesNextServer: 2
- # NOTE: since the server is undertow who serve the static pages, the uploads config must be set here also
- # if size was modified please update also the registration's application.yml
- spring:
- http:
- multipart:
- max-file-size: "25Mb"
- max-request-size: "25Mb"
- resources:
- chain:
- gzipped: true
- server:
- compression:
- enabled: true
- min-response-size: 1
- undertow:
- direct-buffers: true # Instruct JVM to use native I/O operations on the buffers
- buffer-size: 16384 # Socket buffer size. Default is 16kb
- io-threads: 16 # The number of I/O threads created for non-blocking tasks. (#CPU * 2)
- worker-threads: 128 # CPU * 16
|