File tree Expand file tree Collapse file tree
docs/admin/getting-started/container/docker-compose Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,6 +183,19 @@ server {
183183
184184 ssl_certificate /etc/letsencrypt/live/cloud.YOUR.DOMAIN/fullchain.pem;
185185 ssl_certificate_key /etc/letsencrypt/live/cloud.YOUR.DOMAIN/privkey.pem;
186+ # Increase max upload size (required for Tus — without this, uploads over 1 MB fail)
187+ client_max_body_size 10M;
188+ # Disable buffering - essential for SSE
189+ proxy_buffering off;
190+ proxy_request_buffering off;
191+
192+ # Extend timeouts for long connections
193+ proxy_read_timeout 3600s;
194+ proxy_send_timeout 3600s;
195+ keepalive_timeout 3600s;
196+
197+ # Prevent nginx from trying other upstreams
198+ proxy_next_upstream off;
186199
187200 location / {
188201 proxy_pass http://127.0.0.1:9200;
@@ -200,6 +213,8 @@ server {
200213
201214 ssl_certificate /etc/letsencrypt/live/cloud.YOUR.DOMAIN/fullchain.pem;
202215 ssl_certificate_key /etc/letsencrypt/live/cloud.YOUR.DOMAIN/privkey.pem;
216+ # Increase max upload size to collabora editor
217+ client_max_body_size 10M;
203218
204219 location / {
205220 proxy_pass http://127.0.0.1:9980;
You can’t perform that action at this time.
0 commit comments