diff options
author | Linnnus <[email protected]> | 2025-03-16 14:53:42 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2025-03-16 14:53:42 +0100 |
commit | 10fb59d94cd7b5d4480cd195ec84c1b8faffbdb6 (patch) | |
tree | bc103f7804ad476c24eec3b044bb71c4c8f017f5 | |
parent | b8d787dd2288fcda6348a9d6212efcedc6d3cafe (diff) |
ahmed: Torreinting use standard option for websockets fix
-rw-r--r-- | hosts/ahmed/torrenting/reverse-proxy.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/hosts/ahmed/torrenting/reverse-proxy.nix b/hosts/ahmed/torrenting/reverse-proxy.nix index 7f8db3e..53eb630 100644 --- a/hosts/ahmed/torrenting/reverse-proxy.nix +++ b/hosts/ahmed/torrenting/reverse-proxy.nix @@ -41,11 +41,7 @@ in { locations."/socket" = { proxyPass = "http://localhost:8096"; recommendedProxySettings = true; - extraConfig = '' - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - ''; + proxyWebsockets = true; }; }; }; |