summaryrefslogtreecommitdiffstats
path: root/lass/1systems
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-01-13 21:01:39 +0100
committerGitea <gitea@fake.local>2023-01-18 23:00:03 +0000
commitd691712e3d4088b21c3f493becf4e9799f6d331c (patch)
treeaa144380520aecc928423c198d752c6cf4cc46d1 /lass/1systems
parent347bb9ae00f8f1b6942f94d4c983593052a5c227 (diff)
mic92: add transmission.r
Sometimes transmission is still required i.e. to download games.
Diffstat (limited to 'lass/1systems')
-rw-r--r--lass/1systems/yellow/config.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/lass/1systems/yellow/config.nix b/lass/1systems/yellow/config.nix
index 06561e9cf..73d7f3780 100644
--- a/lass/1systems/yellow/config.nix
+++ b/lass/1systems/yellow/config.nix
@@ -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;