diff --git a/CHANGELOG.md b/CHANGELOG.md index cfdea222695cd2d3ee8557453b37f5f868a4fb5e..93952d52f3b506bb8885894e2a9962b4f0e22b89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] + + +## [1.7.2] + +### Fixed +- Upload size was restricted to 2MB by nginx, increase limit to 30MB + ## [1.7.1] ## Fixed diff --git a/apps/nginx/nginx.conf b/apps/nginx/nginx.conf index 5434047624ade441a1e6f5b15380abc955091a2b..a9ed260e964f7ebcf2c14bfa40e78d6916247af0 100644 --- a/apps/nginx/nginx.conf +++ b/apps/nginx/nginx.conf @@ -88,6 +88,7 @@ http { # Everything else goes to next.js web app location / { + client_max_body_size 30M; proxy_pass http://snip_next:4000; proxy_http_version 1.1; proxy_read_timeout 900; diff --git a/package.json b/package.json index 4859349f47cd48faf740015674a7278fa154413d..481e28443c7a7baa1cd36bf7b976f58511bd5fe5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "snip", - "version": "1.7.1", + "version": "1.7.2", "description": "our digital lab book", "author": "Sebastian B. Mohr, Markus Osterhoff", "repository": {