Prevent too much proxying

This commit is contained in:
Chocobozzz
2026-04-14 16:57:37 +02:00
parent 1fc9f71227
commit 5fa456e6e7
+2
View File
@@ -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;