Compare commits

...

5 Commits

Author SHA1 Message Date
Tobias Genannt
ae5f7d2419 Merge pull request #1524 from netbox-community/develop
Version 3.4.1
2025-09-26 11:04:31 +02:00
Tobias Genannt
a945236c81 Preparation for 3.4.1 2025-09-26 09:47:06 +02:00
Tobias Genannt
481a102d30 Merge pull request #1515 from alexanderhofstaetter/patch-1
Increase default NGINX Unit request body limit to 100 MB in nginx settings
2025-09-26 09:25:28 +02:00
Alexander Hofstätter
e62af8be76 Increase default NGINX Unit request body limit to 100 MB in docker/nginx-unit.json
The current NGINX Unit configuration in netbox-docker implicitly limits
incoming HTTP request bodies to roughly 2.5 MB. This causes file uploads
(custom scripts, attachments, etc.) to fail with HTTP 413 before they
reach Django, even when NetBox settings like FILE_UPLOAD_MAX_MEMORY_SIZE
are raised.

This change adds a settings block to docker/nginx-unit.json to raise
the default limit:

{
  "settings": {
    "http": {
      "max_body_size": 104857600
    }
  }
}

With this change, new deployments can handle uploads up to 100 MB out
of the box, aligning the container default with the capabilities of
NetBox core and preventing unexpected 413 errors.

Fixes: https://github.com/netbox-community/netbox-docker/issues/897
2025-09-13 13:06:29 +02:00
Tobias Genannt
b1394ff9cb Merge pull request #1508 from netbox-community/develop
Version 3.4.0
2025-09-04 09:59:09 +02:00
3 changed files with 8 additions and 3 deletions

View File

@@ -1 +1 @@
3.4.0
3.4.1

View File

@@ -1,6 +1,6 @@
services:
netbox: &netbox
image: docker.io/netboxcommunity/netbox:${VERSION-v4.4-3.4.0}
image: docker.io/netboxcommunity/netbox:${VERSION-v4.4-3.4.1}
depends_on:
- postgres
- redis

View File

@@ -73,5 +73,10 @@
}
}
},
"access_log": "/dev/stdout"
"access_log": "/dev/stdout",
"settings": {
"http": {
"max_body_size": 104857600
}
}
}