summaryrefslogtreecommitdiffstats
path: root/lass/1systems/prism
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-10-10 12:45:19 +0200
committerlassulus <lassulus@lassul.us>2019-10-10 12:45:19 +0200
commitee36de2973732362f1abdfb5b6b55db1f17b1316 (patch)
treeb5f27600baaa2918d27802a5f4178d70dea46853 /lass/1systems/prism
parentdfc4a42f69a6e499edfc9e0ef1a0a61f1ffe0bb7 (diff)
l prism.r: fix HTTP-Spliting vuln
Diffstat (limited to 'lass/1systems/prism')
-rw-r--r--lass/1systems/prism/config.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index a586807ef..853075744 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -379,7 +379,7 @@ with import <stockholm/lib>;
services.nginx.virtualHosts."lassul.us".locations."^~ /transmission".extraConfig = ''
if ($scheme != "https") {
- rewrite ^ https://$host$uri permanent;
+ rewrite ^ https://$host$request_uri permanent;
}
auth_basic "Restricted Content";
auth_basic_user_file ${pkgs.writeText "transmission-user-pass" ''