diff --git a/CHANGELOG.md b/CHANGELOG.md index 98a0a6b..ddb055d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Set 10 minute timeout on background job that processes incoming activities. - Use "warn" log level for delivery errors. +### Fixed + +- Change max body size in nginx example config to match app limit. + ## [1.12.0] - 2023-01-26 ### Added diff --git a/contrib/mitra-alt-fe.nginx b/contrib/mitra-alt-fe.nginx index 6f35bb3..0e9ec26 100644 --- a/contrib/mitra-alt-fe.nginx +++ b/contrib/mitra-alt-fe.nginx @@ -35,6 +35,8 @@ server { add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; img-src 'self' data:; media-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'"; add_header X-Content-Type-Options "nosniff"; + client_max_body_size 10M; + location / { # Frontend root /usr/share/mitra/www; diff --git a/contrib/mitra.nginx b/contrib/mitra.nginx index a03f946..d9b144f 100644 --- a/contrib/mitra.nginx +++ b/contrib/mitra.nginx @@ -35,6 +35,8 @@ server { add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; img-src 'self' data:; media-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'"; add_header X-Content-Type-Options "nosniff"; + client_max_body_size 10M; + location / { proxy_pass http://127.0.0.1:8383; proxy_set_header Host $http_host;