Commit Diff


commit - 58173ca20e1c2ca78dcb04ae194734079b89166d
commit + 72bbed91365401d14492dac426401476986c84cf
blob - f9811b9299a58f40b069bfc26c9db82d3f729b26
blob + b0a25d1c87aa436c1d9516c78114ceeb1407db2e
--- gmid.c
+++ gmid.c
@@ -612,12 +612,16 @@ main(int argc, char **argv)
 
 		parse_conf(config_path);
 	} else {
+		configless = 1;
+		foreground = 1;
+
 		if (hostname == NULL)
 			hostname = "localhost";
 		if (certs_dir == NULL)
 			certs_dir = data_dir();
 		load_local_cert(hostname, certs_dir);
 
+		hosts[0].domain = "*";
 		hosts[0].locations[0].auto_index = 1;
 		hosts[0].locations[0].match = "*";