From f0057fbac7436bd80ffa43d2967e0543860741e6 Mon Sep 17 00:00:00 2001 From: Joao Gilberto Magalhaes Date: Mon, 3 Jul 2023 20:37:56 -0500 Subject: [PATCH] Update static.md --- docs/static.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/static.md b/docs/static.md index 53cb2d6..4f7c3a1 100644 --- a/docs/static.md +++ b/docs/static.md @@ -91,9 +91,13 @@ logLevel: easyhaproxy: DEBUG # Optional (default: DEBUG). Can be: TRACE,DEBUG,INFO,WARN,ERROR,FATAL haproxy: INFO # Optional (default: INFO). Can be: TRACE,DEBUG,INFO,WARN,ERROR,FATAL -certbot: { # Optional. If you enable `certbot` will need to setu0p this, - # otherwise the certificate will be issued - "email": "acme@example.org" +certbot: + email: "acme@example.org" # If email is defined enable ACME/Certbot + autoconfig: "" # If empty use letsencrypt, otherwise try to set the CA defined. + eab_hmac_key: "" # If required by the CA, set here. + eab_kid: "" # If required by the CA, set here. + server: False # If empty/False uses Letsencrypt, otherwise the CA Endpoint defined here + retry_count: 60 # If the certificate reaches the Rate Limit, try again after 'n' iterations. } easymapping: @@ -103,7 +107,7 @@ easymapping: host1.com.br: # Hostname containers: - container:5000 # Endpoints of the hostname above (ip, dns, container, etc) - certbot: true # Optional. it will request a certbot certiticate + certbot: true # Optional. it will request a certbot certificate. Needs certbot.email set. redirect_ssl: true # Optional. It will redirect this site to it SSL. ssl: true # Optional. Inform this port will listen to SSL, instead of HTTP clone_to_ssl: true # Optional. Default False. You clone these hosts to its equivalent SSL. @@ -111,7 +115,8 @@ easymapping: www.host1.com.br: http://host1.com.br ``` -**Note**: The only way to pass SSL certificates is to map the certificates to EasyHAProxy as a docker volume. Refer to the [SSL documentation](ssl.md) to learn how to do it. +**Note**: The only way to pass SSL certificates in the static configuration file is to map the certificates +to EasyHAProxy as a docker volume. Refer to the [SSL documentation](ssl.md) to learn how to do it. ---- [Open source ByJG](http://opensource.byjg.com)