diff options
author | lassulus <lassulus@lassul.us> | 2023-01-19 14:12:53 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2023-01-19 14:12:53 +0100 |
commit | ba010c3ef6c6700a9fcfba79b02d44398c4f2721 (patch) | |
tree | 6402e38c610a8ff3af39288169daf95cf2f4172d /lass/1systems/yellow/config.nix | |
parent | c89f76a0bd4f5060ead3d942387c37aff1350ec8 (diff) | |
parent | 5a8488fa58a3ad3d2384ae15af14784c4a0b7c22 (diff) |
Merge remote-tracking branch 'mic92/master'
Diffstat (limited to 'lass/1systems/yellow/config.nix')
-rw-r--r-- | lass/1systems/yellow/config.nix | 9 |
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; |