traefik reverse proxy for port 25

This commit is contained in:
vincent 2023-10-07 18:00:37 +02:00
parent 211a2adc5c
commit 6d2c5f57a5
2 changed files with 4 additions and 4 deletions

View File

@ -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"
}

View File

@ -26,7 +26,7 @@ job "traefik-ingress" {
host_network = "public"
}
port "smtp" {
static = 12346
static = 25
host_network = "public"
}
port "esmtp" {