WIP: router: fix caddy handler order

This commit is contained in:
Yuri Tatishchev 2025-05-13 02:37:40 -07:00
parent 96317180e7
commit 37d79d877e
Signed by: CaZzzer
SSH Key Fingerprint: SHA256:sqXB3fe0LMpfH+IeM/vlmxKdso52kssrIJBlwKXVe1U

View File

@ -190,9 +190,6 @@ in
dns cloudflare {env.CF_API_KEY}
resolvers 1.1.1.1
}
handle /* {
reverse_proxy localhost:${toString config.services.glance.settings.server.port}
}
@grafana path /grafana /grafana/*
handle @grafana {
reverse_proxy localhost:${toString config.services.grafana.settings.server.http_port}
@ -204,6 +201,9 @@ in
Bob $2a$14$HsWmmzQTN68K3vwiRAfiUuqIjKoXEXaj9TOLUtG2mO1vFpdovmyBy
}
}
handle /* {
reverse_proxy localhost:${toString config.services.glance.settings.server.port}
}
'';
};
}