remove-darkkirb-de-site #595
3 changed files with 2 additions and 53 deletions
|
@ -17,7 +17,6 @@
|
|||
./services/grafana.nix
|
||||
./users/miifox.nix
|
||||
./services/postgres.nix
|
||||
./services/old-homepage.nix
|
||||
./services/dovecot.nix
|
||||
./services/postfix.nix
|
||||
./services/reverse-proxy.nix
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
{
|
||||
system,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (pkgs) old-homepage;
|
||||
in {
|
||||
systemd.services.homepage-old = {
|
||||
enable = true;
|
||||
description = "darkkirb.de";
|
||||
script = "${old-homepage}/homepage";
|
||||
serviceConfig = {
|
||||
WorkingDirectory = old-homepage;
|
||||
EnvironmentFile = "/run/secrets/services/old-homepage";
|
||||
};
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
services.caddy.virtualHosts."darkkirb.de" = {
|
||||
useACMEHost = "darkkirb.de";
|
||||
logFormat = pkgs.lib.mkForce "";
|
||||
extraConfig = ''
|
||||
import baseConfig
|
||||
|
||||
reverse_proxy {
|
||||
to http://localhost:3002
|
||||
trusted_proxies private_ranges
|
||||
}
|
||||
'';
|
||||
};
|
||||
services.caddy.virtualHosts."static.darkkirb.de" = {
|
||||
useACMEHost = "darkkirb.de";
|
||||
logFormat = pkgs.lib.mkForce "";
|
||||
extraConfig = ''
|
||||
import baseConfig
|
||||
|
||||
rewrite * /file/darkkirb-de{path}
|
||||
|
||||
reverse_proxy {
|
||||
to https://f000.backblazeb2.com
|
||||
header_up Host {upstream_hostport}
|
||||
|
||||
transport http {
|
||||
versions 1.1
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
sops.secrets."services/old-homepage" = {};
|
||||
}
|
|
@ -25,7 +25,6 @@ services:
|
|||
access-key-id: ENC[AES256_GCM,data:qFc3bua0z3cCydNwoM0hA9T3zbI=,iv:zox8zBO7p+CpyHUbXt1WIbsXVtJd16L5UHRS2HAGLpU=,tag:Rv/F8TmcLm9gIz8YMrZlCQ==,type:str]
|
||||
secret-access-key: ENC[AES256_GCM,data:DiQmiDXGkSe1oFUrv1oDAAp0P5keo84BXMusSIGaRmeMNw2/cKy0tA==,iv:nEhRuPBgYY7/mHJwB86qzuZ9bgJBX3f5PJU+VdIRAuk=,tag:laAam0N7/0e8I7J/BiiNpg==,type:str]
|
||||
signing.key: ENC[AES256_GCM,data:9T89UI3fHxuxVoMhM0AEp6MIZIYHSdvEWHUFvXamnLtzKakEIkYatl0VeoZP/nQGTwoHZWwVaCbBCyc3V87ZV/Q4cFH8e7vKbWSYCzCm6f6N8YtzJtrB2XX3MQWFX5iacvoYntGKG5bdITREUcvyxNwB5w3KE0Lnd4OVpY0pyQh9PE8Vl9bqEIkbr9P8jQ==,iv:UdOGxGFKjqoLPn4Kiexgp16Civ9w00dXj1CFOthCaRQ=,tag:Os3TVbEfdyUpahZuuSWoYg==,type:str]
|
||||
old-homepage: ENC[AES256_GCM,data:MYpqkUkk6y+OhaZu2VsmWocGIsTqxZN1fCk6viNYJSAdGTikK+XtBMj8KrWSwA/8wfcWth20goLvOwQuCJiSxdl86sdsUbc18/NqK52B6LS6h+Pw3GNsyAQUu+oaxfL7FtHRvViiSS8LVulKeSjL7osUPlrJVqEZfqOX4bNkPxiamOvZko1uHC+iWGY68BnAHQoEbdVNhNEUQqm2A8/vidNU4Z9VrmPXmr8nr/c+Ut+aF0iPZJGqSoxWS8+zFU6ubv/W2rA18wi8hOYPpV0=,iv:U245wbKo9e4AAGS6khhEV9lDB6y0ukAUtLMnihHC9T0=,tag:xqvUnSHuI7XeRkk4NtZZyQ==,type:str]
|
||||
dovecot:
|
||||
rspamd_password: ENC[AES256_GCM,data:E19GJ7zE3FMFVAd7P7rvcmxRMYs=,iv:Nn6VdFq0UIs3Oh9JUKyiDvnk1rkNeqLIhjFSxdOPtmU=,tag:oGE3Ht/d0jlheMKunhwEsQ==,type:str]
|
||||
dovecot-sql.conf.ext: ENC[AES256_GCM,data:1Uhyz+X9zDgBuO/C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fdW69GUCjR0HmcjF3NX/Cd5N5uivy+yLp3IrincHAz8LBIXyw==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2024-09-29T06:14:30Z"
|
||||
mac: ENC[AES256_GCM,data:oJRsfAWK/8AVgoh+NECePr223pwiP+LJNWAZiS+kHKcUwNdXtzH2DxkMot0urHdDCD9WnMCKXCl7RIgIScm8cRHy/Sm11MfIQ3FVcUn+hKCMbo8zJ3kOCvS69GVD+UsBPe4FGiFoH97dxJADNeLF4VlYnBNiRLm/TeUt4IQuYog=,iv:gzlMMVPa9YQN51O3gTRbySsm1Q266M3WfVR3CdiZ14E=,tag:sNiHoYzlnxpjZRT9x6DCug==,type:str]
|
||||
lastmodified: "2024-10-19T06:15:43Z"
|
||||
mac: ENC[AES256_GCM,data:PVSHek+3yN4/r7r1DdmZ3juA/BUdt6xVXp7KqVvZVfumvrKt96YEse7ByA0rfbhsudvbkEJ27c/SFkq8wr9yTnuoC2G73ityy55mAwXAXoi4P1YlM0WsGam5YI+WEKAD8KFsGt0rhLaPSplJ3KChhaBHSIYBiPDRndFsIsodIr8=,iv:dHFvSrdnOzAw1D+lkHUzuxwphU/z7wiDKhEGrd8ZejU=,tag:957soHIZVrb+xv7JOvBwxg==,type:str]
|
||||
pgp: []
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.9.0
|
||||
|
|
Loading…
Reference in a new issue