diff --git a/virtualmin-nginx-lib.pl b/virtualmin-nginx-lib.pl index b2215ca..511d864 100644 --- a/virtualmin-nginx-lib.pl +++ b/virtualmin-nginx-lib.pl @@ -2040,12 +2040,7 @@ sub get_fcgiwrap_server_command { my ($d, $port) = @_; my $cmd = &has_command("fcgiwrap"); -if ($port =~ /^\//) { - $cmd .= " -s unix:".$port; - } -else { - $cmd .= " -s tcp:127.0.0.1:".$port; - } +$cmd .= " -s unix:".$port; my $log = "$d->{'home'}/logs/fcgiwrap.log"; my $piddir = "/var/php-nginx"; if (!-d $piddir) {