1
0
Fork 0

Add custom ping http code when Traefik is terminating

This commit is contained in:
Léopold Jacquot 2020-07-01 14:40:04 +02:00 committed by GitHub
parent 73513f8371
commit 7669f41e8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 82 additions and 4 deletions

View file

@ -0,0 +1,16 @@
[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
[entryPoints]
[entryPoints.traefik]
address = ":8001"
[entryPoints.traefik.transport.lifeCycle]
requestAcceptGraceTimeout = "10s"
[ping]
terminatingStatusCode = 204