Make Garage API domain be localhost
This commit is contained in:
parent
e6b58b656b
commit
fc18582a1b
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (builtins) toString;
|
inherit (builtins) toString;
|
||||||
inherit (lib) mkOption mkEnableOption;
|
inherit (lib) mkOption mkEnableOption mkForce;
|
||||||
inherit (lib.types) types;
|
inherit (lib.types) types;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
@ -109,5 +109,10 @@ in {
|
||||||
defaults.email = "nicolas.jeannerod+fediversity@moduscreate.com";
|
defaults.email = "nicolas.jeannerod+fediversity@moduscreate.com";
|
||||||
# defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
# defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
## NOTE: For a one-machine deployment, this removes the need to provide an
|
||||||
|
## `s3.garage.<domain>` domain. However, this will quickly stop working once
|
||||||
|
## we go to multi-machines deployment.
|
||||||
|
fediversity.internal.garage.api.domain = mkForce "localhost";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue