enabled reverse proxy
This commit is contained in:
parent
da8919b999
commit
4c7d6bf837
|
@ -58,8 +58,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
reverse_proxy = {
|
reverse_proxy = {
|
||||||
enable = false;
|
enable = true;
|
||||||
hostname = "volpe.social";
|
hostname = "jan-leila.com";
|
||||||
};
|
};
|
||||||
postgres = {
|
postgres = {
|
||||||
extraUsers = {
|
extraUsers = {
|
||||||
|
|
|
@ -16,7 +16,7 @@ in {
|
||||||
forceSSL = lib.mkOption {
|
forceSSL = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
description = "force connections to use https";
|
description = "force connections to use https";
|
||||||
default = true;
|
default = config.host.reverse_proxy.enableACME;
|
||||||
};
|
};
|
||||||
enableACME = lib.mkOption {
|
enableACME = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
|
|
Loading…
Reference in a new issue