diff options
author | lassulus <lassulus@lassul.us> | 2019-10-10 12:45:19 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-10-10 12:45:19 +0200 |
commit | ee36de2973732362f1abdfb5b6b55db1f17b1316 (patch) | |
tree | b5f27600baaa2918d27802a5f4178d70dea46853 | |
parent | dfc4a42f69a6e499edfc9e0ef1a0a61f1ffe0bb7 (diff) |
l prism.r: fix HTTP-Spliting vuln
-rw-r--r-- | lass/1systems/prism/config.nix | 2 |
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" '' |