mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -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
|
limit_check=1
|
||||||
fail_counter=$(get_web_counter "$user" "$domain" 'LETSENCRYPT_FAIL_COUNT')
|
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-)
|
# proxy_tpl=$(/usr/local/vesta/bin/v-list-web-domain "$user" "$domain" "shell" | grep 'PROXY:' | cut -d ' ' -f11-)
|
||||||
if [ "$proxy_tpl" = "forward" ]; then
|
# if [ "$proxy_tpl" = "forward" ]; then
|
||||||
echo "[$(date)] : $domain is using forward proxy, skipping" >> /usr/local/vesta/log/letsencrypt_cron.log
|
# echo "[$(date)] : $domain is using forward proxy, skipping" >> /usr/local/vesta/log/letsencrypt_cron.log
|
||||||
continue;
|
# continue;
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
if [[ "$hostname" = "$domain" ]]; then
|
if [[ "$hostname" = "$domain" ]]; then
|
||||||
if [[ "$fail_counter" -eq 7 ]]; then
|
if [[ "$fail_counter" -eq 7 ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue