# Environment Variables

The following environment variables can be used to configure Traefik:

| Variable            | Value                                            | Description                                                     |
| ------------------- | ------------------------------------------------ | --------------------------------------------------------------- |
| CERT\_RESOLVER      | le                                               | The certificate resolver to use for obtaining TLS certificates. |
| CA\_SERVER          | <https://acme-v02.api.letsencrypt.org/directory> | The URL of the ACME server for certificate generation.          |
| TLS                 | true                                             | Enable or disable TLS encryption.                               |
| TLS\_CHALLENGE      | http                                             | The challenge type to use for TLS certificate generation.       |
| WEB\_ENTRY\_POINT   | web                                              | The entry point for web traffic.                                |
| REDIRECT\_TO\_HTTPS | true                                             | Enable or disable automatic redirection to HTTPS.               |
