Change max body size in nginx example config to match app limit

This commit is contained in:
silverpill 2023-02-04 00:16:40 +00:00
parent 4559f74881
commit cc43adedcf
3 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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;

View file

@ -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;