Proxy wordpress sites through the cloud.
This commit is contained in:
@@ -16,6 +16,9 @@ job "traefik" {
|
||||
#host_network = "tailscale"
|
||||
static = "9002"
|
||||
}
|
||||
port "http4proxy" {
|
||||
static = 10080
|
||||
}
|
||||
}
|
||||
|
||||
task "traefik" {
|
||||
@@ -52,7 +55,7 @@ job "traefik" {
|
||||
|
||||
config {
|
||||
image = "traefik:latest"
|
||||
ports = ["http", "https", "admin"]
|
||||
ports = ["http", "https", "admin", "http4proxy"]
|
||||
network_mode = "host"
|
||||
volumes = [
|
||||
"local/traefik.yml:/etc/traefik/traefik.yml",
|
||||
@@ -112,6 +115,9 @@ entryPoints:
|
||||
scheme: https
|
||||
permanent: true
|
||||
|
||||
web4proxy:
|
||||
address: ":{{{ env "NOMAD_PORT_http4proxy" }}}"
|
||||
|
||||
websecure:
|
||||
address: ":{{{ env "NOMAD_PORT_https" }}}"
|
||||
http:
|
||||
|
||||
Reference in New Issue
Block a user