Commit aa0b8d63 authored by omega8cc's avatar omega8cc

Nginx: Add listen directive for 127.0.0.1 to properly support old, non-wildcard instances.

parent 901fb219
......@@ -257,6 +257,7 @@ else {
foreach ($server->ip_addresses as $ip) {
print " listen {$ip}:{$http_port};\n";
}
print " listen 127.0.0.1:{$http_port};\n";
}
?>
server_name 127.0.0.1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment