orginase services
This commit is contained in:
parent
7caa83908d
commit
e5f9966329
7 changed files with 80 additions and 34 deletions
|
|
@ -1,5 +1,15 @@
|
|||
{config, ...}:
|
||||
let
|
||||
cfg = config.services.vaultwarden;
|
||||
domain = "vault.tristans.cloud";
|
||||
in
|
||||
{
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
};
|
||||
services.nginx.virtualHosts.${domain} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."~".proxyPass = "http://localhost:${toString cfg.config.ROCKET_PORT}";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue