Implemented flexible upload limits for wordpress and matrix :)

This commit is contained in:
2025-07-26 11:22:01 +02:00
parent f9f76892af
commit a9e7ed3605
7 changed files with 31 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
location {{ location_upload }} {
proxy_pass http://127.0.0.1:{{ http_port }};
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size {{ client_max_body_size }};
proxy_buffering off;
proxy_request_buffering off;
proxy_read_timeout 120s;
proxy_connect_timeout 120s;
proxy_send_timeout 120s;
}