We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7848ec + bf20bd8 commit 410a00cCopy full SHA for 410a00c
bin/v-add-letsencrypt-domain
@@ -281,7 +281,7 @@ for auth in $authz; do
281
if [ "$WEB_SYSTEM" = 'nginx' ] || [ "$PROXY_SYSTEM" = 'nginx' ]; then
282
conf="$HOMEDIR/$user/conf/web/$domain/nginx.conf_letsencrypt"
283
sconf="$HOMEDIR/$user/conf/web/$domain/nginx.ssl.conf_letsencrypt"
284
- echo 'location ~ "^/\.well-known/acme-challenge/(.*)$" {' \
+ echo 'location ~ "^/\.well-known/acme-challenge/([-_A-Za-z0-9]+)$" {' \
285
> $conf
286
echo ' default_type text/plain;' >> $conf
287
echo ' return 200 "$1.'$THUMB'";' >> $conf
0 commit comments