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