Add gitpw
This commit is contained in:
parent
a9d4cd5813
commit
b394f37256
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
me = config.m-0.private.me;
|
inherit (config.m-0.private) me gitpw;
|
||||||
in {
|
in {
|
||||||
containers.git = {
|
containers.git = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
@ -38,6 +38,7 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
default = true;
|
default = true;
|
||||||
|
basicAuth.git = gitpw;
|
||||||
locations = {
|
locations = {
|
||||||
"~ (/.*)" = {
|
"~ (/.*)" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in a new issue