Skip to content

Commit

Permalink
Merge branch 'master' of github.com:virtualmin/virtualmin-nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Apr 2, 2022
2 parents 60915c5 + b3c2ae8 commit 78b89ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,8 @@ sub feature_links
my $param = &virtual_server::master_admin() ? "file" : "extra";
push(@rv, { 'mod' => 'syslog',
'desc' => $log->[1],
'page' => "save_log.cgi?view=1&".
'page' => "save_log.cgi?view=1&nonavlinks=1".
"&linktitle=".&urlize($log->[1])."&".
"$param=".&urlize($lf),
'cat' => 'logs',
});
Expand Down Expand Up @@ -2947,7 +2948,7 @@ sub feature_save_domain_php_fpm_port
$_->{'words'}->[1] eq '\.php(/|$)') } @locs;
return "No location block for .php files found" if (!$loc);
&save_directive($loc, "fastcgi_pass",
[ $socket =~ /^\// ? "unix:$socket" : "localhost:$socket" ]);
[ $socket =~ /^\// ? "unix:$socket" : "127.0.0.1:$socket" ]);
&flush_config_file_lines();
&unlock_all_config_files();
&virtual_server::register_post_action(\&print_apply_nginx);
Expand Down

0 comments on commit 78b89ad

Please sign in to comment.