diff --git a/cluster/cz.vpsfree/containers/int.paste/config.nix b/cluster/cz.vpsfree/containers/int.paste/config.nix index 849366a3..1c1122bf 100644 --- a/cluster/cz.vpsfree/containers/int.paste/config.nix +++ b/cluster/cz.vpsfree/containers/int.paste/config.nix @@ -18,7 +18,7 @@ in { services.bepasty = { enable = true; - servers."bepasty.vpsfree.cz" = { + servers."paste.vpsfree.cz" = { bind = "0.0.0.0:${toString confMachine.services.bepasty.port}"; defaultPermissions = "read,create"; diff --git a/cluster/cz.vpsfree/containers/int.paste/module.nix b/cluster/cz.vpsfree/containers/int.paste/module.nix index d6a35e4b..131dd105 100644 --- a/cluster/cz.vpsfree/containers/int.paste/module.nix +++ b/cluster/cz.vpsfree/containers/int.paste/module.nix @@ -16,7 +16,7 @@ healthChecks = { systemd.unitProperties = { - "bepasty-server-bepasty.vpsfree.cz-gunicorn.service" = [ + "bepasty-server-paste.vpsfree.cz-gunicorn.service" = [ { property = "ActiveState"; value = "active"; } ]; }; diff --git a/cluster/cz.vpsfree/containers/prg/proxy/config.nix b/cluster/cz.vpsfree/containers/prg/proxy/config.nix index 4d05c6e7..9db2e21e 100644 --- a/cluster/cz.vpsfree/containers/prg/proxy/config.nix +++ b/cluster/cz.vpsfree/containers/prg/proxy/config.nix @@ -119,7 +119,8 @@ in { locations."/gh-webhook".proxyPass = "http://${vpsfbot.addresses.primary.address}:8000"; }; - "bepasty.vpsfree.cz" = { + "paste.vpsfree.cz" = { + serverAliases = [ "bepasty.vpsfree.cz" ]; enableACME = true; forceSSL = true; locations."/".proxyPass = "http://${paste.services.bepasty.address}:${toString paste.services.bepasty.port}"; diff --git a/configs/internal-dns/zone.vpsfree.cz. b/configs/internal-dns/zone.vpsfree.cz. index 2b07748b..fc0f3d61 100644 --- a/configs/internal-dns/zone.vpsfree.cz. +++ b/configs/internal-dns/zone.vpsfree.cz. @@ -1,7 +1,7 @@ $ORIGIN vpsfree.cz. $TTL 1H ; default expiration time of all resource records without their own TTL value @ IN SOA @fqdn@. podpora.vpsfree.cz. ( - 2023050400 ; serial number of this zone file + 2023061900 ; serial number of this zone file 1D ; slave refresh (1 day) 2H ; slave retry time in case of a problem (2 hours) 4W ; slave expiration time (4 weeks) @@ -43,7 +43,7 @@ mx2 IN AAAA 2a00:cb40:2::1:95 mxfilter IN A 37.205.10.110 mxproxy IN A 37.205.9.45 new IN A 83.167.228.42 -paste IN CNAME proxy.vpsfree.cz. +paste IN CNAME proxy.prg.vpsfree.cz. paste.int IN A 172.16.9.157 paste-old.int IN A 37.205.8.141 piwik IN CNAME prasiatko.vpsfree.cz.