feat(ops/sanduny): deploy volgasprint.org
Change-Id: I5058e78ee3d7c26f2abafedeb5c0fb9d55a4da6a Reviewed-on: https://cl.tvl.fyi/c/depot/+/11066 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: Mark Shevchenko <markshevchenko@gmail.com>
This commit is contained in:
parent
f3412a9e32
commit
a9f8491891
2 changed files with 16 additions and 0 deletions
|
@ -24,6 +24,7 @@ in
|
||||||
(mod "tvl-users.nix")
|
(mod "tvl-users.nix")
|
||||||
(mod "www/inbox.tvl.su.nix")
|
(mod "www/inbox.tvl.su.nix")
|
||||||
(mod "www/self-redirect.nix")
|
(mod "www/self-redirect.nix")
|
||||||
|
(mod "www/volgasprint.org.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
15
ops/modules/www/volgasprint.org.nix
Normal file
15
ops/modules/www/volgasprint.org.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ depot, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./base.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
config = {
|
||||||
|
services.nginx.virtualHosts."volgasprint.org" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
root = "${depot.web.volgasprint}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue