Use runyan.org
This commit is contained in:
parent
9f45df7903
commit
b8c9278f37
8
flake.lock
generated
8
flake.lock
generated
@ -172,11 +172,11 @@
|
|||||||
"radio-web": {
|
"radio-web": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1629918655,
|
"lastModified": 1652121792,
|
||||||
"narHash": "sha256-sDVM1K1r2y4T37tvdu3mtjiswJ7/PrVGsDQrHzrNfac=",
|
"narHash": "sha256-j1Y9MAjUVNgyFSeGzPoqibAnEysJDjZSXukVfQ7+bsQ=",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"rev": "585ce4e3d09d1618d61358902a4231e91e15e1de",
|
"rev": "72e7a9e80b780c84ed8d4a6374bfbb242701f900",
|
||||||
"revCount": 4,
|
"revCount": 5,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.neet.dev/zuckerberg/radio-web.git"
|
"url": "https://git.neet.dev/zuckerberg/radio-web.git"
|
||||||
},
|
},
|
||||||
|
@ -58,14 +58,14 @@
|
|||||||
containers.vpn = mkVpnContainer pkgs "/dev/null" {
|
containers.vpn = mkVpnContainer pkgs "/dev/null" {
|
||||||
services.radio = {
|
services.radio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
host = "radio.neet.space";
|
host = "radio.runyan.org";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# containers cannot unlock their own secrets right now. unlock it here
|
# containers cannot unlock their own secrets right now. unlock it here
|
||||||
age.secrets."pia-login.conf".file = ../../secrets/pia-login.conf;
|
age.secrets."pia-login.conf".file = ../../secrets/pia-login.conf;
|
||||||
|
|
||||||
# icecast endpoint + website
|
# icecast endpoint + website
|
||||||
services.nginx.virtualHosts."radio.neet.space" = {
|
services.nginx.virtualHosts."radio.runyan.org" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations = {
|
locations = {
|
||||||
@ -160,6 +160,15 @@
|
|||||||
root = "/var/www/tmp";
|
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.acceptTerms = true;
|
||||||
security.acme.email = "zuckerberg@neet.dev";
|
security.acme.email = "zuckerberg@neet.dev";
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user