File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -253,12 +253,12 @@ for auth in $authz; do
253253 else
254254 # Get root directory from configuration
255255 domain_config=" $HOMEDIR /$user /conf/web/$domain "
256- if [ -f " ${domain} _config /nginx.conf" ]; then
257- well_known=" $( cat ${domain} _config /nginx.conf | egrep ' ^\s+root' | \
256+ if [ -f " $domain_config /nginx.conf" ]; then
257+ well_known=" $( cat $domain_config /nginx.conf | egrep ' ^\s+root' | \
258258 awk ' {split($0, a, " "); print a[2]}' | \
259259 sed ' s/;$//' ) /.well-known"
260260 else
261- well_known=" $( cat ${domain} _config /apache2.conf | egrep ' ^\s+root' | \
261+ well_known=" $( cat $domain_config /apache2.conf | egrep ' ^\s+root' | \
262262 awk ' {split($0, a, " "); print a[2]}' | \
263263 sed ' s/;$//' ) /.well-known"
264264 fi
You can’t perform that action at this time.
0 commit comments