Skip to content

Commit

Permalink
FCGIwrap is only run via a socket
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Jun 14, 2024
1 parent d8e441c commit 16d0e5e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions virtualmin-nginx-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 16d0e5e

Please sign in to comment.