diff --git a/scripts/_common.sh b/scripts/_common.sh index 653a0b0..19c1859 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -18,9 +18,10 @@ wait_nginx_reload() { fi sleep 1 done + # Wait untils nginx has fully reloaded (avoid curl fail with http2) + sleep 2 } - # Check if an URL is already handled # usage: is_url_handled --domain=DOMAIN --path=PATH_URI is_url_handled() {