diff --git a/nginx/peertube.conf b/nginx/peertube.conf index 57fbe4d..b9c4ae0 100644 --- a/nginx/peertube.conf +++ b/nginx/peertube.conf @@ -167,7 +167,7 @@ server { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; - proxy_limit_rate 5M; + # proxy_limit_rate 5M; proxy_pass http://backend; } @@ -176,10 +176,10 @@ server { location ~ ^/static/(webseed|web-videos|redundancy|streaming-playlists)/ { limit_rate_after 5M; - set $peertube_limit_rate 5M; + # set $peertube_limit_rate 5M; # Use this line with nginx >= 1.17.0 - limit_rate $peertube_limit_rate; + # limit_rate $peertube_limit_rate; # Or this line with nginx < 1.17.0 # set $limit_rate $peertube_limit_rate;