mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Implemented flexible upload limits for wordpress and matrix :)
This commit is contained in:
13
roles/srv-proxy-7-4-core/templates/location/upload.conf.j2
Normal file
13
roles/srv-proxy-7-4-core/templates/location/upload.conf.j2
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user