File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -231,13 +231,11 @@ for auth in $authz; do
231231 if [ " $WEB_SYSTEM " = ' nginx' ] || [ " $PROXY_SYSTEM " = ' nginx' ]; then
232232 conf=" $HOMEDIR /$user /conf/web/$domain /nginx.conf_letsencrypt"
233233 sconf=" $HOMEDIR /$user /conf/web/$domain /nginx.ssl.conf_letsencrypt"
234- if [ ! -e " $conf " ]; then
235- echo ' location ~ "^/\.well-known/acme-challenge/(.*)$" {' \
236- > $conf
237- echo ' default_type text/plain;' >> $conf
238- echo ' return 200 "$1.' $THUMB ' ";' >> $conf
239- echo ' }' >> $conf
240- fi
234+ echo ' location ~ "^/\.well-known/acme-challenge/(.*)$" {' \
235+ > $conf
236+ echo ' default_type text/plain;' >> $conf
237+ echo ' return 200 "$1.' $THUMB ' ";' >> $conf
238+ echo ' }' >> $conf
241239 if [ ! -e " $sconf " ]; then
242240 ln -s " $conf " " $sconf "
243241 fi
You can’t perform that action at this time.
0 commit comments