Use runyan.org

This commit is contained in:
2022-05-09 14:46:18 -04:00
parent 9f45df7903
commit b8c9278f37
2 changed files with 15 additions and 6 deletions

View File

@@ -58,14 +58,14 @@
containers.vpn = mkVpnContainer pkgs "/dev/null" {
services.radio = {
enable = true;
host = "radio.neet.space";
host = "radio.runyan.org";
};
};
# containers cannot unlock their own secrets right now. unlock it here
age.secrets."pia-login.conf".file = ../../secrets/pia-login.conf;
# icecast endpoint + website
services.nginx.virtualHosts."radio.neet.space" = {
services.nginx.virtualHosts."radio.runyan.org" = {
enableACME = true;
forceSSL = true;
locations = {
@@ -160,6 +160,15 @@
root = "/var/www/tmp";
};
# redirect to github
services.nginx.virtualHosts."runyan.org" = {
enableACME = true;
forceSSL = true;
extraConfig = ''
rewrite ^/(.*)$ https://github.com/GoogleBot42 redirect;
'';
};
security.acme.acceptTerms = true;
security.acme.email = "zuckerberg@neet.dev";
}