too lazy to think of a message, so enjoy this pointless text. Good luck future me...
This commit is contained in:
parent
924365da8b
commit
867ba37619
1 changed files with 16 additions and 16 deletions
|
|
@ -130,22 +130,22 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.caddy = {
|
# services.caddy = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
virtualHosts = {
|
# virtualHosts = {
|
||||||
"auth.amarth.cloud".extraConfig = ''
|
# "auth.amarth.cloud".extraConfig = ''
|
||||||
reverse_proxy h2c://127.0.0.1:9092
|
# reverse_proxy h2c://127.0.0.1:9092
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
(auth-z) {
|
# (auth-z) {
|
||||||
forward_auth h2c://127.0.0.1:9092 {
|
# forward_auth h2c://127.0.0.1:9092 {
|
||||||
uri /api/authz/forward-auth
|
# uri /api/authz/forward-auth
|
||||||
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
|
# copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue