We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec8beb9 commit b3c2ae8Copy full SHA for b3c2ae8
virtual_feature.pl
@@ -2948,7 +2948,7 @@ sub feature_save_domain_php_fpm_port
2948
$_->{'words'}->[1] eq '\.php(/|$)') } @locs;
2949
return "No location block for .php files found" if (!$loc);
2950
&save_directive($loc, "fastcgi_pass",
2951
- [ $socket =~ /^\// ? "unix:$socket" : "localhost:$socket" ]);
+ [ $socket =~ /^\// ? "unix:$socket" : "127.0.0.1:$socket" ]);
2952
&flush_config_file_lines();
2953
&unlock_all_config_files();
2954
&virtual_server::register_post_action(\&print_apply_nginx);
0 commit comments