From f58155c255aecfed9f91ff92d422f56232499565 Mon Sep 17 00:00:00 2001 From: n-i-x <440158+n-i-x@users.noreply.github.com> Date: Fri, 24 Apr 2020 20:57:56 -0400 Subject: [PATCH] Add a note about HTTP/2 and Transmission Chrome Extensions --- transmission.subdomain.conf.sample | 12 +++++++++++- transmission.subfolder.conf.sample | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/transmission.subdomain.conf.sample b/transmission.subdomain.conf.sample index 54cd511..5d9147d 100644 --- a/transmission.subdomain.conf.sample +++ b/transmission.subdomain.conf.sample @@ -1,4 +1,14 @@ -# make sure that your dns has a cname set for transmission +# Make sure that DNS has a cname set for transmission +# +# Some Transmission Chrome extensions cannot handle HTTP/2 proxies as they +# rely on the HTTP Status Text to determine if they should add the +# X-Transmission-Session-Id header or not. HTTP/2 does not return this text +# so jQuery responses are empty. This causes RPCs to fail. +# +# If your extension is affected, you can remove http2 from the default server +# in /config/nginx/site-confs/default or listen on a different port that has +# no http2 servers defined. Better yet, submit a bug report with the +# extension developer to fix their extensions to support HTTP/2. server { listen 443 ssl; diff --git a/transmission.subfolder.conf.sample b/transmission.subfolder.conf.sample index 468d4a0..5f81280 100644 --- a/transmission.subfolder.conf.sample +++ b/transmission.subfolder.conf.sample @@ -1,4 +1,14 @@ -# transmission does not require a base url setting +# Transmission does not require a base url setting +# +# Some Transmission Chrome extensions cannot handle HTTP/2 proxies as they +# rely on the HTTP Status Text to determine if they should add the +# X-Transmission-Session-Id header or not. HTTP/2 does not return this text +# so jQuery responses are empty. This causes RPCs to fail. +# +# If your extension is affected, you can remove http2 from the default server +# in /config/nginx/site-confs/default or listen on a different port that has +# no http2 servers defined. Better yet, submit a bug report with the +# extension developer to fix their extensions to support HTTP/2. location ^~ /transmission { # enable the next two lines for http auth