diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-27 15:00:55 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-27 15:00:55 +0000 |
commit | 72bbed91365401d14492dac426401476986c84cf (patch) | |
tree | b3818682799cfd80db95bcd13edcb7e164988c55 /gmid.c | |
parent | 58173ca20e1c2ca78dcb04ae194734079b89166d (diff) |
make configless mode works again. also accept every host
Diffstat (limited to 'gmid.c')
-rw-r--r-- | gmid.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 = "*"; |