diff --git a/virtual_feature.pl b/virtual_feature.pl index 8048787..89b72bc 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -217,7 +217,8 @@ sub feature_setup "[".$d->{'ip6'}."]:".$d->{'web_sslport'} } @listen; } my @sslopts = ( 'ssl' ); -push(@sslopts, "http2") if ($virtualmin_nginx::config{'http2'}); +push(@sslopts, "http2") if ($virtualmin_nginx::config{'http2'} || + $tmpl->{'web_http2'}); if ($virtualmin_nginx::config{'listen_mode'} eq '0') { # Listen on all IPs if (!$old_ip4 && !$old_ip6) {