aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx/peertube
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-12-19 20:15:13 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-01-25 17:15:04 +0100
commitdf7b786f09418ed3f7fdafb0d0158103ad02d08e (patch)
tree96c421c66c01495e3b117e7ce90a952cc251e236 /support/nginx/peertube
parent82f5527fc3945f433ad8f1af66d13b46efb877da (diff)
downloadPeerTube-df7b786f09418ed3f7fdafb0d0158103ad02d08e.tar.gz
PeerTube-df7b786f09418ed3f7fdafb0d0158103ad02d08e.tar.zst
PeerTube-df7b786f09418ed3f7fdafb0d0158103ad02d08e.zip
add `proxy_ignore_client_abort` flag to Nginx conf
The `proxy_ignore_client_abort` flag specifies whether nginx will monitor possible connection close while waiting for an upstream server response. If an error occurs while sending a response, the connection will be closed regardless of the flag, much like if there were no nginx at all. fixes #3484
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r--support/nginx/peertube1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index a886fa359..fd3ff1534 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -154,6 +154,7 @@ server {
154 keepalive_timeout 10s; # default is 75 154 keepalive_timeout 10s; # default is 75
155 resolver_timeout 10s; # default is 30 155 resolver_timeout 10s; # default is 30
156 reset_timedout_connection on; 156 reset_timedout_connection on;
157 proxy_ignore_client_abort on;
157 158
158 tcp_nopush on; # send headers in one piece 159 tcp_nopush on; # send headers in one piece
159 tcp_nodelay on; # don't buffer data sent, good for small data bursts in real time 160 tcp_nodelay on; # don't buffer data sent, good for small data bursts in real time