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 committed by Gitea
parent 347bb9ae00
commit d691712e3d
2 changed files with 10 additions and 0 deletions

View File

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

View File

@ -40,6 +40,7 @@ in {
security.acme.certs."jelly.r".server = config.krebs.ssl.acmeURL; security.acme.certs."jelly.r".server = config.krebs.ssl.acmeURL;
security.acme.certs."radar.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."sonar.r".server = config.krebs.ssl.acmeURL;
security.acme.certs."transmission.r".server = config.krebs.ssl.acmeURL;
services.nginx = { services.nginx = {
enable = true; enable = true;
package = pkgs.nginx.override { package = pkgs.nginx.override {
@ -152,6 +153,14 @@ in {
proxy_set_header Accept-Encoding ""; 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" = { virtualHosts."radar.r" = {
enableACME = true; enableACME = true;
addSSL = true; addSSL = true;