Update static.md
This commit is contained in:
parent
3f38951b60
commit
f0057fbac7
1 changed files with 10 additions and 5 deletions
|
|
@ -91,9 +91,13 @@ logLevel:
|
||||||
easyhaproxy: DEBUG # Optional (default: DEBUG). Can be: TRACE,DEBUG,INFO,WARN,ERROR,FATAL
|
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
|
haproxy: INFO # Optional (default: INFO). Can be: TRACE,DEBUG,INFO,WARN,ERROR,FATAL
|
||||||
|
|
||||||
certbot: { # Optional. If you enable `certbot` will need to setu0p this,
|
certbot:
|
||||||
# otherwise the certificate will be issued
|
email: "acme@example.org" # If email is defined enable ACME/Certbot
|
||||||
"email": "acme@example.org"
|
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:
|
easymapping:
|
||||||
|
|
@ -103,7 +107,7 @@ easymapping:
|
||||||
host1.com.br: # Hostname
|
host1.com.br: # Hostname
|
||||||
containers:
|
containers:
|
||||||
- container:5000 # Endpoints of the hostname above (ip, dns, container, etc)
|
- 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.
|
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
|
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.
|
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
|
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)
|
[Open source ByJG](http://opensource.byjg.com)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue