Add Traefik proxy for Syslogng
This commit is contained in:
parent
7f4995817b
commit
9fe5393a40
@ -128,6 +128,13 @@ EOF
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.tcp.routers.syslogngtcp.entrypoints=syslogtcp",
|
||||
"traefik.tcp.routers.syslogngtcp.rule=HostSNI(`*`)",
|
||||
"traefik.udp.routers.syslogngudp.entrypoints=syslogudp",
|
||||
]
|
||||
}
|
||||
|
||||
task "syslogng" {
|
||||
|
@ -120,6 +120,12 @@ job "traefik" {
|
||||
[entryPoints.metrics]
|
||||
address = ":8989"
|
||||
|
||||
[entryPoints.syslogtcp]
|
||||
address = ":514"
|
||||
|
||||
[entryPoints.syslogudp]
|
||||
address = ":514/udp"
|
||||
|
||||
[api]
|
||||
dashboard = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user