aboutsummaryrefslogtreecommitdiff
path: root/gmid.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-27 10:43:55 +0000
committerOmar Polo <op@omarpolo.com>2021-01-27 10:43:55 +0000
commit390a61189309451462c0a1dc56c68f71e334ad4b (patch)
tree1f16d0cbd95cf04166efdac74f54aeb49d61bb9e /gmid.c
parent2d3f837ac587063ac967c12afbdb219ba231256c (diff)
sane defaults for the config-less mode
Diffstat (limited to 'gmid.c')
-rw-r--r--gmid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gmid.c b/gmid.c
index 356a299..7a973f5 100644
--- a/gmid.c
+++ b/gmid.c
@@ -615,6 +615,9 @@ main(int argc, char **argv)
certs_dir = data_dir();
load_local_cert(hostname, certs_dir);
+ hosts[0].locations[0].auto_index = 1;
+ hosts[0].locations[0].match = "*";
+
switch (argc) {
case 0:
hosts[0].dir = ".";