Reorder config entries (functional no-op).
This commit is contained in:
@@ -58,28 +58,13 @@ job "traefik" {
|
|||||||
|
|
||||||
template {
|
template {
|
||||||
data = <<EOH
|
data = <<EOH
|
||||||
|
global:
|
||||||
|
checkNewVersion: false
|
||||||
|
sendAnonymousUsage: false
|
||||||
|
|
||||||
#log:
|
#log:
|
||||||
# level: debug
|
# level: debug
|
||||||
|
|
||||||
entryPoints:
|
|
||||||
web:
|
|
||||||
address: ":{{{ env "NOMAD_PORT_http" }}}"
|
|
||||||
http:
|
|
||||||
redirections:
|
|
||||||
entrypoint:
|
|
||||||
to: websecure
|
|
||||||
scheme: https
|
|
||||||
permanent: true
|
|
||||||
|
|
||||||
websecure:
|
|
||||||
address: ":{{{ env "NOMAD_PORT_https" }}}"
|
|
||||||
http:
|
|
||||||
tls:
|
|
||||||
certResolver: letsencrypt
|
|
||||||
|
|
||||||
admin:
|
|
||||||
address: ":{{{ env "NOMAD_PORT_admin" }}}"
|
|
||||||
|
|
||||||
api:
|
api:
|
||||||
dashboard: true
|
dashboard: true
|
||||||
|
|
||||||
@@ -113,9 +98,24 @@ certificatesResolvers:
|
|||||||
storage: /config/acme/acme.json
|
storage: /config/acme/acme.json
|
||||||
tlsChallenge: {}
|
tlsChallenge: {}
|
||||||
|
|
||||||
global:
|
entryPoints:
|
||||||
checkNewVersion: false
|
web:
|
||||||
sendAnonymousUsage: false
|
address: ":{{{ env "NOMAD_PORT_http" }}}"
|
||||||
|
http:
|
||||||
|
redirections:
|
||||||
|
entrypoint:
|
||||||
|
to: websecure
|
||||||
|
scheme: https
|
||||||
|
permanent: true
|
||||||
|
|
||||||
|
websecure:
|
||||||
|
address: ":{{{ env "NOMAD_PORT_https" }}}"
|
||||||
|
http:
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
admin:
|
||||||
|
address: ":{{{ env "NOMAD_PORT_admin" }}}"
|
||||||
EOH
|
EOH
|
||||||
destination = "local/traefik.yml"
|
destination = "local/traefik.yml"
|
||||||
change_mode = "noop"
|
change_mode = "noop"
|
||||||
|
|||||||
Reference in New Issue
Block a user