mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2025-02-07 23:02:34 +00:00
Disable the rate limits
This commit is contained in:
parent
f63b6e5980
commit
61aaf389c6
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue