35 lines
719 B
Django/Jinja
35 lines
719 B
Django/Jinja
entryPoints:
|
|
web:
|
|
address: ":80"
|
|
http:
|
|
redirections:
|
|
entryPoint:
|
|
to: websecure
|
|
scheme: https
|
|
websecure:
|
|
address: ":443"
|
|
http:
|
|
encodedCharacters:
|
|
allowEncodedSlash: true
|
|
transport:
|
|
respondingTimeouts:
|
|
readTimeout: 0
|
|
writeTimeout: 0
|
|
idleTimeout: 0
|
|
certificatesResolvers:
|
|
transip:
|
|
acme:
|
|
dnsChallenge:
|
|
provider: "transip"
|
|
email: "{{ traefik_letsencrypt_email }}"
|
|
storage: "/acme.json"
|
|
|
|
{% if traefik_routes | selectattr('proto', 'equalto', 'https') | list | length > 0 %}
|
|
serversTransport:
|
|
insecureSkipVerify: true
|
|
{% endif %}
|
|
|
|
providers:
|
|
file:
|
|
filename: /http.yml
|
|
watch: true
|