traefik reverse proxy for port 25
This commit is contained in:
parent
211a2adc5c
commit
6d2c5f57a5
@ -15,8 +15,8 @@ job "dockermailserver" {
|
|||||||
mode = "host"
|
mode = "host"
|
||||||
port "smtp" {
|
port "smtp" {
|
||||||
to = 25
|
to = 25
|
||||||
static = 25
|
# static = 25
|
||||||
host_network = "public"
|
# host_network = "public"
|
||||||
}
|
}
|
||||||
port "imap" {
|
port "imap" {
|
||||||
to = 10993
|
to = 10993
|
||||||
@ -155,7 +155,7 @@ job "dockermailserver" {
|
|||||||
|
|
||||||
template {
|
template {
|
||||||
data = <<EOH
|
data = <<EOH
|
||||||
#postscreen_upstream_proxy_protocol = haproxy
|
postscreen_upstream_proxy_protocol = haproxy
|
||||||
EOH
|
EOH
|
||||||
destination = "local/postfix-main.cf"
|
destination = "local/postfix-main.cf"
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ job "traefik-ingress" {
|
|||||||
host_network = "public"
|
host_network = "public"
|
||||||
}
|
}
|
||||||
port "smtp" {
|
port "smtp" {
|
||||||
static = 12346
|
static = 25
|
||||||
host_network = "public"
|
host_network = "public"
|
||||||
}
|
}
|
||||||
port "esmtp" {
|
port "esmtp" {
|
||||||
|
Loading…
Reference in New Issue
Block a user