Skip to content

Commit b3c2ae8

Browse files
committed
Fix to update to use 127.0.0.1 instead of localhost
virtualmin/virtualmin-pro#20
1 parent ec8beb9 commit b3c2ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtual_feature.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2948,7 +2948,7 @@ sub feature_save_domain_php_fpm_port
29482948
$_->{'words'}->[1] eq '\.php(/|$)') } @locs;
29492949
return "No location block for .php files found" if (!$loc);
29502950
&save_directive($loc, "fastcgi_pass",
2951-
[ $socket =~ /^\// ? "unix:$socket" : "localhost:$socket" ]);
2951+
[ $socket =~ /^\// ? "unix:$socket" : "127.0.0.1:$socket" ]);
29522952
&flush_config_file_lines();
29532953
&unlock_all_config_files();
29542954
&virtual_server::register_post_action(\&print_apply_nginx);

0 commit comments

Comments
 (0)