modules: services: nginx: nginx-sso verbose logs

For some reason it still doesn't appear in the systemd log...
This commit is contained in:
Bruno BELANYI 2021-08-30 17:34:26 +02:00
parent fd898df590
commit 8319f0ea5c
1 changed files with 17 additions and 0 deletions

View File

@ -248,6 +248,23 @@ in
inherit (cfg.sso) port;
};
audit_log = {
target = [
"fd://stdout"
];
events = [
"access_denied"
"login_success"
"login_failure"
"logout"
"validate"
];
headers = [
"x-origin-uri"
"x-application"
];
};
cookie = {
domain = ".${config.networking.domain}";
secure = true;