@@ -117,6 +117,11 @@ docker run --rm -v /etc/nginx:/etc/nginx --pid=host \
117117
118118
119119
120+ ### Generate requirements
121+
122+ You can generate requirements.txt file with uv like:
123+ ` uv export --no-hashes --no-emit-workspace > requirements.txt `
124+
120125## Usage
121126
122127Simplest scenario: you have neither letsencrypt [ account key] ( https://letsencrypt.org/docs/account-id/ ) nor domain key and want to generate
@@ -134,16 +139,16 @@ Oct 12 23:42:17 Trying to register account key
134139Oct 12 23:42:18 Registered!
135140Oct 12 23:42:18 Requesting challenge
136141Oct 12 23:42:19 Adding nginx virtual host and completing challenge
137- Oct 12 23:42:19 Creating file /etc/nginx/sites-enabled/ letsencrypt
142+ Oct 12 23:42:19 Creating file /etc/nginx/conf.d/0- letsencrypt.conf
138143Oct 12 23:42:21 example.com verified!
139144Oct 12 23:42:21 Requesting challenge
140145Oct 12 23:42:21 Adding nginx virtual host and completing challenge
141- Oct 12 23:42:21 Creating file /etc/nginx/sites-enabled/ letsencrypt
146+ Oct 12 23:42:21 Creating file /etc/nginx/conf.d/0- letsencrypt.conf
142147Oct 12 23:42:23 www.example.com verified!
143148Oct 12 23:42:23 Signing certificate
144149Oct 12 23:42:23 Certificate signed!
145150Oct 12 23:42:23 Writing result file in /etc/ssl/private/letsencrypt-domain.pem
146- Oct 12 23:42:23 Removing /etc/nginx/sites-enabled/ letsencrypt and sending HUP to nginx
151+ Oct 12 23:42:23 Removing /etc/nginx/conf.d/0- letsencrypt.conf and sending HUP to nginx
147152```
148153
149154Certificate was generated into ` /etc/ssl/private/letsencrypt-domain.pem `
@@ -166,7 +171,7 @@ More complicated scenario: you have both account, domain keys and custom virtual
166171sudo acme-nginx \
167172 -k /path/to/account.key \
168173 --domain-private-key /path/to/domain.key \
169- --virtual-host /etc/nginx/sites-enabled /customvhost \
174+ --virtual-host /etc/nginx/conf.d /customvhost \
170175 -o /path/to/signed_certificate.pem \
171176 -d example.com -d www.example.com
172177```
@@ -208,8 +213,8 @@ acme-nginx --dns-provider cloudflare -d '*.example.com'
208213### Debug
209214
210215To debug please use ` --debug ` flag. With debug enabled all intermediate files
211- will not be removed, so you can check ` /etc/nginx/sites-enabled ` for temporary
212- virtual host configuration, by default it's ` /etc/nginx/sites-enabled /0-letsencrypt.conf ` .
216+ will not be removed, so you can check ` /etc/nginx/conf.d ` for temporary
217+ virtual host configuration, by default it's ` /etc/nginx/conf.d /0-letsencrypt.conf ` .
213218
214219Execute ` acme-nginx --help ` to see all available flags and their default values.
215220
0 commit comments