Revert "hledger: temporarily disable nginx authentication"
This reverts commit f41d915677
.
This commit is contained in:
parent
be9fac7bed
commit
f48911fa4b
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"f /run/agenix/agenix 0770 nginx nginx -"
|
||||
];
|
||||
|
||||
services = {
|
||||
hledger-web = {
|
||||
enable = true;
|
||||
|
@ -31,8 +35,8 @@
|
|||
proxyWebsockets = false;
|
||||
extraConfig =
|
||||
"proxy_set_header Host $host;\n"
|
||||
# + "auth_basic \"Username and Password Required\";\n"
|
||||
# + "auth_basic_user_file /run/agenix/nginx;"
|
||||
+ "auth_basic \"Username and Password Required\";\n"
|
||||
+ "auth_basic_user_file /run/agenix/nginx;"
|
||||
;
|
||||
};
|
||||
};
|
||||
|
|
Reference in a new issue