feat(adguardhome): enable nginx authelia auth
This commit is contained in:
parent
318eb4a682
commit
5bc625a883
1 changed files with 1 additions and 3 deletions
|
@ -37,9 +37,6 @@ in
|
||||||
certificate_path = "${config.security.acme.certs."${host}".directory}/fullchain.pem";
|
certificate_path = "${config.security.acme.certs."${host}".directory}/fullchain.pem";
|
||||||
private_key_path = "${config.security.acme.certs."${host}".directory}/key.pem";
|
private_key_path = "${config.security.acme.certs."${host}".directory}/key.pem";
|
||||||
};
|
};
|
||||||
# HINT: users needs to be set up manually:
|
|
||||||
# https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#password-reset
|
|
||||||
# users = [ { name = "felschr"; } ];
|
|
||||||
querylog = {
|
querylog = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
interval = "24h";
|
interval = "24h";
|
||||||
|
@ -104,6 +101,7 @@ in
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
virtualHosts."${host}" = {
|
virtualHosts."${host}" = {
|
||||||
|
enableAutheliaAuth = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
http3 = true;
|
http3 = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue