matemat: add basic auth back
This commit is contained in:
parent
ea784ab019
commit
8888888871
|
@ -16,7 +16,10 @@
|
|||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3000";
|
||||
extraConfig = libC.hqNetworkOnly;
|
||||
extraConfig = libC.hqNetworkOnly + ''
|
||||
auth_basic secured;
|
||||
auth_basic_user_file ${config.sops.secrets."nginx/basic-auth".path};
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue