mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Prevent too much proxying
This commit is contained in:
@@ -213,6 +213,8 @@ server {
|
|||||||
proxy_set_header Host $host; # Use $http_host if you use a non standard HTTP port
|
proxy_set_header Host $host; # Use $http_host if you use a non standard HTTP port
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
|
# Prevent too much proxying, which results in high disk write IO
|
||||||
|
proxy_max_temp_file_size 50M;
|
||||||
proxy_limit_rate 5M;
|
proxy_limit_rate 5M;
|
||||||
|
|
||||||
proxy_pass http://backend;
|
proxy_pass http://backend;
|
||||||
|
|||||||
Reference in New Issue
Block a user