mirror of
https://github.com/lldap/lldap.git
synced 2026-06-09 21:10:25 +00:00
doc: added LLDAP_HTTP_URL env variable for SMTP settings
Signed-off-by: Tim Beermann <tibeer@berryit.de>
This commit is contained in:
@@ -86,6 +86,7 @@ services:
|
|||||||
# - LLDAP_SMTP_OPTIONS__PASSWORD=PasswordGoesHere # The SMTP password
|
# - LLDAP_SMTP_OPTIONS__PASSWORD=PasswordGoesHere # The SMTP password
|
||||||
# - LLDAP_SMTP_OPTIONS__FROM=no-reply <no-reply@example.com> # The header field, optional: how the sender appears in the email. The first is a free-form name, followed by an email between <>.
|
# - LLDAP_SMTP_OPTIONS__FROM=no-reply <no-reply@example.com> # The header field, optional: how the sender appears in the email. The first is a free-form name, followed by an email between <>.
|
||||||
# - LLDAP_SMTP_OPTIONS__TO=admin <admin@example.com> # Same for reply-to, optional.
|
# - LLDAP_SMTP_OPTIONS__TO=admin <admin@example.com> # Same for reply-to, optional.
|
||||||
|
# - LLDAP_HTTP_URL=https://lldap.example.com # URL used in the email template to compose the reset link
|
||||||
```
|
```
|
||||||
|
|
||||||
Then the service will listen on two ports, one for LDAP and one for the web
|
Then the service will listen on two ports, one for LDAP and one for the web
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ pub struct RunOpts {
|
|||||||
#[clap(long, env = "LLDAP_HTTP_PORT")]
|
#[clap(long, env = "LLDAP_HTTP_PORT")]
|
||||||
pub http_port: Option<u16>,
|
pub http_port: Option<u16>,
|
||||||
|
|
||||||
/// URL of the server, for password reset links.
|
/// URL of the server, for password reset links. Default: "http://localhost"
|
||||||
#[clap(long, env = "LLDAP_HTTP_URL")]
|
#[clap(long, env = "LLDAP_HTTP_URL")]
|
||||||
pub http_url: Option<Url>,
|
pub http_url: Option<Url>,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user