Revert "hledger: temporarily disable nginx authentication"

This reverts commit f41d915677.
This commit is contained in:
Payas Relekar 2023-07-02 10:46:45 +05:30
parent be9fac7bed
commit f48911fa4b

View file

@ -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;"
;
};
};