summaryrefslogtreecommitdiffstats
path: root/lass/1systems/yellow/config.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2023-01-19 14:12:53 +0100
committerlassulus <lassulus@lassul.us>2023-01-19 14:12:53 +0100
commitba010c3ef6c6700a9fcfba79b02d44398c4f2721 (patch)
tree6402e38c610a8ff3af39288169daf95cf2f4172d /lass/1systems/yellow/config.nix
parentc89f76a0bd4f5060ead3d942387c37aff1350ec8 (diff)
parent5a8488fa58a3ad3d2384ae15af14784c4a0b7c22 (diff)
Merge remote-tracking branch 'mic92/master'
Diffstat (limited to 'lass/1systems/yellow/config.nix')
-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;