fuckaudiorecordings -> recordrecap

This commit is contained in:
Motiejus Jakštys 2023-05-08 17:02:58 +03:00
parent ee31a3df1b
commit a197f4db68

View File

@ -343,11 +343,11 @@ in {
caddy = { caddy = {
enable = true; enable = true;
email = "motiejus+acme@jakstys.lt"; email = "motiejus+acme@jakstys.lt";
virtualHosts."fuckaudiorecordings.com".extraConfig = '' virtualHosts."recordrecap.jakstys.lt".extraConfig = ''
reverse_proxy vno1-oh2.servers.jakst:8088 reverse_proxy vno1-oh2.servers.jakst:8080
''; '';
virtualHosts."www.fuckaudiorecordings.com".extraConfig = '' virtualHosts."www.recordrecap.jakstys.lt".extraConfig = ''
redir https://fuckaudiorecordings.com redir https://recordrecap.jakstys.lt
''; '';
virtualHosts."vpn.jakstys.lt".extraConfig = '' virtualHosts."vpn.jakstys.lt".extraConfig = ''
reverse_proxy 127.0.0.1:8080 reverse_proxy 127.0.0.1:8080
@ -585,23 +585,13 @@ in {
fwmine A ${ips.hel1a} fwmine A ${ips.hel1a}
hel1-a A ${ips.hel1a} hel1-a A ${ips.hel1a}
vno1 A ${ips.vno1} vno1 A ${ips.vno1}
recordrecap A ${ips.hel1a}
@ MX 10 aspmx.l.google.com. @ MX 10 aspmx.l.google.com.
@ MX 20 alt1.aspmx.l.google.com. @ MX 20 alt1.aspmx.l.google.com.
@ MX 20 alt2.aspmx.l.google.com. @ MX 20 alt2.aspmx.l.google.com.
@ MX 30 aspmx2.googlemail.com. @ MX 30 aspmx2.googlemail.com.
@ MX 30 aspmx3.googlemail.com. @ MX 30 aspmx3.googlemail.com.
''; '';
fuckAudioZone = pkgs.writeText "fuckaudiorecordings.com.zone" ''
$ORIGIN fuckaudiorecordings.com.
$TTL 86400
@ SOA ns1.fuckaudiorecordings.com. postmaster.jakstys.lt. (2023032100 86400 86400 86400 86400)
@ NS ns1.fuckaudiorecordings.com.
@ NS ns2.fuckaudiorecordings.com.
@ A ${ips.hel1a}
www A ${ips.hel1a}
ns1 A ${ips.vno1}
ns2 A ${ips.hel1a}
'';
in { in {
enable = true; enable = true;
extraConfig = '' extraConfig = ''
@ -613,9 +603,6 @@ in {
- domain: jakstys.lt - domain: jakstys.lt
file: ${jakstysLTZone} file: ${jakstysLTZone}
semantic-checks: on semantic-checks: on
- domain: fuckaudiorecordings.com
file: ${fuckAudioZone}
semantic-checks: on
''; '';
}; };
}; };