Nginx: Fix all protected vhosts if config placeholder is missing or the vhost has duplicate directives.