2024-07-24 01:16:22 +00:00
|
|
|
providers:
|
|
|
|
# Enables reading docker label config values
|
|
|
|
docker: {}
|
|
|
|
|
|
|
|
entrypoints:
|
|
|
|
# Defines a secure entrypoint using TLS encryption
|
|
|
|
websecure:
|
|
|
|
address: ":443"
|
|
|
|
http:
|
|
|
|
tls: true
|
|
|
|
# Defines an insecure entrypoint that redirects to the secure one.
|
|
|
|
web:
|
|
|
|
address: ":80"
|
|
|
|
http:
|
|
|
|
# Redirects HTTP to HTTPS
|
|
|
|
redirections:
|
|
|
|
entrypoint:
|
|
|
|
to: "websecure"
|
|
|
|
scheme: "https"
|
|
|
|
|
|
|
|
# Enables automatic certificate renewal
|
|
|
|
certificatesResolvers:
|
|
|
|
letsencrypt:
|
|
|
|
acme:
|
|
|
|
email: "my_email@example.com"
|
|
|
|
storage: /acme/acme.json
|
|
|
|
tlschallenge: true
|
|
|
|
|
|
|
|
api:
|
2024-07-26 14:57:46 +00:00
|
|
|
insecure: true
|