some fixes
Some checks failed
Test action / kaas (push) Failing after 1s

This commit is contained in:
Chris Kruining 2025-10-21 09:01:22 +02:00
parent f62fa502db
commit 81e1574023
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
4 changed files with 21 additions and 6 deletions

View file

@ -117,12 +117,12 @@ in
enable = true;
virtualHosts = {
"auth.kruining.eu".extraConfig = ''
reverse_proxy h2c://127.0.0.1:9092
reverse_proxy h2c://::1:9092
'';
};
extraConfig = ''
(auth) {
forward_auth h2c://127.0.0.1:9092 {
forward_auth h2c://::1:9092 {
uri /api/authz/forward-auth
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
}
@ -130,6 +130,8 @@ in
'';
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
# Secrets
sops.secrets."zitadel/masterKey" = {

View file

@ -23,7 +23,7 @@ in
common = {
ring = {
instance_addr = "127.0.0.1";
kvstore.store = "inmmemory";
kvstore.store = "inmemory";
};
replication_factor = 1;
path_prefix = "/tmp/loki";

View file

@ -29,9 +29,11 @@ in
filename = "filename";
};
clients = {
url = "http://127.0.0.1:3100/loki/api/v1/push";
};
clients = [
{
url = "http://::1:9003/loki/api/v1/push";
}
];
scrape_configs = [
{