Reorder config entries (functional no-op).
This commit is contained in:
@@ -58,28 +58,13 @@ job "traefik" {
|
||||
|
||||
template {
|
||||
data = <<EOH
|
||||
global:
|
||||
checkNewVersion: false
|
||||
sendAnonymousUsage: false
|
||||
|
||||
#log:
|
||||
# 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:
|
||||
dashboard: true
|
||||
|
||||
@@ -113,9 +98,24 @@ certificatesResolvers:
|
||||
storage: /config/acme/acme.json
|
||||
tlsChallenge: {}
|
||||
|
||||
global:
|
||||
checkNewVersion: false
|
||||
sendAnonymousUsage: false
|
||||
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" }}}"
|
||||
EOH
|
||||
destination = "local/traefik.yml"
|
||||
change_mode = "noop"
|
||||
|
||||
Reference in New Issue
Block a user