mirror of
https://github.com/wassname/nginx-proxy-letsencrypt.git
synced 2026-10-29 13:20:53 +08:00
Update Let's Encrypt section with an example. Remove old and incorrect help text about restarting.
This commit is contained in:
1 parent
bc81ac6903
commit
76a279e4d3
1 file changed
+3
-1
@@ -134,7 +134,9 @@ Set the following environment variables to enable Let's Encrypt support for a co
|
||||
|
||||
The `LETSENCRYPT_HOST` variable most likely needs to be the same as the `VIRTUAL_HOST` variable and must be publicly reachable domains. Specify multiple hosts with a comma delimiter.
|
||||
|
||||
After the first start, the nginx-proxy will need to be restarted again. This is because the nginx configuration needs to be regenerated after downloading the Let's Encrypt certificate.
|
||||
For example
|
||||
|
||||
$ docker run -d -e VIRTUAL_HOST="foo.bar.com,bar.com" -e LETSENCRYPT_HOST="foo.bar.com,bar.com" -e LETSENCRYPT_EMAIL="foo@bar.com" dmp1ce/nginx-proxy-letsencrypt
|
||||
|
||||
### Basic Authentication Support
|
||||
|
||||
|
||||
Reference in new issue
Block a user