poseidon: remove nuage service
Didn't renew the domain name
This commit is contained in:
parent
f8f4f3cc81
commit
77b5936a0b
|
@ -106,10 +106,6 @@ in {
|
|||
adminpassFile = config.age.secrets."nextcloud/admin-pass".path;
|
||||
};
|
||||
|
||||
nuage = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
paperless = {
|
||||
enable = true;
|
||||
port = 8085;
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
./navidrome.nix
|
||||
./nextcloud.nix
|
||||
./nginx.nix
|
||||
./nuage.nix
|
||||
./paperless.nix
|
||||
./pipewire.nix
|
||||
./postgresql-backup.nix
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit
|
||||
(lib)
|
||||
mkEnableOption
|
||||
mkIf
|
||||
;
|
||||
|
||||
cfg = config.my.services.nuage;
|
||||
my = config.my;
|
||||
in {
|
||||
options.my.services.nuage = {
|
||||
enable = mkEnableOption "Nuage redirect";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.nginx.virtualHosts = {
|
||||
"stratocumulus.org" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/".return = "301 https://petit-nuage.org";
|
||||
};
|
||||
"petit.stratocumulus.org" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/".return = "301 https://petit-nuage.org";
|
||||
};
|
||||
"gros.stratocumulus.org" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/".return = "301 https://gros-nuage.org";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue