mic92: add transmission.r

Sometimes transmission is still required i.e. to download games.
This commit is contained in:
Jörg Thalheim 2023-01-13 21:01:39 +01:00
parent 2818476f71
commit 129d1a9c80
2 changed files with 10 additions and 0 deletions

View File

@ -9,6 +9,7 @@
"jelly.r"
"radar.r"
"sonar.r"
"transmission.r"
];
tinc = {
pubkey = ''

View File

@ -40,6 +40,7 @@ in {
security.acme.certs."jelly.r".server = config.krebs.ssl.acmeURL;
security.acme.certs."radar.r".server = config.krebs.ssl.acmeURL;
security.acme.certs."sonar.r".server = config.krebs.ssl.acmeURL;
security.acme.certs."transmission.r".server = config.krebs.ssl.acmeURL;
services.nginx = {
enable = true;
package = pkgs.nginx.override {
@ -152,6 +153,14 @@ in {
proxy_set_header Accept-Encoding "";
'';
};
virtualHosts."transmission.r" = {
enableACME = true;
addSSL = true;
locations."/".extraConfig = ''
proxy_pass http://localhost:9091/;
proxy_set_header Accept-Encoding "";
'';
};
virtualHosts."radar.r" = {
enableACME = true;
addSSL = true;