mirror of https://gitlab.crans.org/nounous/nixos
vaultwarden: add port in config
parent
a8061ccb37
commit
e9c99d2241
|
@ -17,6 +17,7 @@
|
|||
|
||||
environmentFile = config.age.secrets.env.path;
|
||||
config = {
|
||||
ROCKET_PORT = 8222;
|
||||
SENDMAIL_COMMAND = "${config.security.wrapperDir}/sendmail";
|
||||
};
|
||||
};
|
||||
|
@ -38,7 +39,7 @@
|
|||
|
||||
services.nginx.virtualHosts."vaultwarden.crans.org" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8222";
|
||||
proxyPass = "http://localhost:${toString config.services.vaultwarden.config.ROCKET_PORT}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue