mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Rollback of previous commit
This commit is contained in:
parent
e134202224
commit
8563303fbe
1 changed files with 5 additions and 5 deletions
|
@ -36,11 +36,11 @@ for user in $($BIN/v-list-users plain |cut -f 1); do
|
|||
limit_check=1
|
||||
fail_counter=$(get_web_counter "$user" "$domain" 'LETSENCRYPT_FAIL_COUNT')
|
||||
|
||||
proxy_tpl=$(/usr/local/vesta/bin/v-list-web-domain "$user" "$domain" "shell" | grep 'PROXY:' | cut -d ' ' -f11-)
|
||||
if [ "$proxy_tpl" = "forward" ]; then
|
||||
echo "[$(date)] : $domain is using forward proxy, skipping" >> /usr/local/vesta/log/letsencrypt_cron.log
|
||||
continue;
|
||||
fi
|
||||
# proxy_tpl=$(/usr/local/vesta/bin/v-list-web-domain "$user" "$domain" "shell" | grep 'PROXY:' | cut -d ' ' -f11-)
|
||||
# if [ "$proxy_tpl" = "forward" ]; then
|
||||
# echo "[$(date)] : $domain is using forward proxy, skipping" >> /usr/local/vesta/log/letsencrypt_cron.log
|
||||
# continue;
|
||||
# fi
|
||||
|
||||
if [[ "$hostname" = "$domain" ]]; then
|
||||
if [[ "$fail_counter" -eq 7 ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue