From ea82c41934ae3d1d801f1a17d0d01cc7c27d6537 Mon Sep 17 00:00:00 2001 From: drono Date: Tue, 27 Aug 2024 17:08:51 +0300 Subject: [PATCH] update environment variable documentation --- .env.traefik.remote | 1 + .../reverse-proxy-traefik/environment-variables.md | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 documentation/packages/reverse-proxy-traefik/environment-variables.md diff --git a/.env.traefik.remote b/.env.traefik.remote index 3d8aeef7..6fda2a47 100644 --- a/.env.traefik.remote +++ b/.env.traefik.remote @@ -59,6 +59,7 @@ GF_SERVER_SERVE_FROM_SUB_PATH=true # Traefik Labels CERT_RESOLVER=le +# letsencrypt staging url https://acme-staging-v02.api.letsencrypt.org/directory CA_SERVER=https://acme-v02.api.letsencrypt.org/directory TLS=false TLS_CHALLENGE=false diff --git a/documentation/packages/reverse-proxy-traefik/environment-variables.md b/documentation/packages/reverse-proxy-traefik/environment-variables.md new file mode 100644 index 00000000..2714a9d0 --- /dev/null +++ b/documentation/packages/reverse-proxy-traefik/environment-variables.md @@ -0,0 +1,12 @@ +# Traefik 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](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. |