Skip to content

Commit 16d0e5e

Browse files
committed
FCGIwrap is only run via a socket
1 parent d8e441c commit 16d0e5e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

virtualmin-nginx-lib.pl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,12 +2040,7 @@ sub get_fcgiwrap_server_command
20402040
{
20412041
my ($d, $port) = @_;
20422042
my $cmd = &has_command("fcgiwrap");
2043-
if ($port =~ /^\//) {
2044-
$cmd .= " -s unix:".$port;
2045-
}
2046-
else {
2047-
$cmd .= " -s tcp:127.0.0.1:".$port;
2048-
}
2043+
$cmd .= " -s unix:".$port;
20492044
my $log = "$d->{'home'}/logs/fcgiwrap.log";
20502045
my $piddir = "/var/php-nginx";
20512046
if (!-d $piddir) {

0 commit comments

Comments
 (0)