There are 3 options at time of authoring this article:
1. Use an application relay in SBCE instead of a Reverse Proxy
2. Change the nginx.conf
3. If SBCE v. 7.1 SP1 the max file size is configurable from EMS/reverse proxy settings.
Here are the steps for option 2 which need to be done on each SBCE (not EMS) with a reverse proxy set for this purpose:
1. Make a copy of /usr/local/nginx/conf/nginx.conf to nginx.conf.orig (in case changes need to be reverted)
2. Using vi, edit /usr/local/nginx/conf/nginx.conf, within the http context, see what’s in yellow below (last line in http context, below is only one section of nginx.conf and all that needs editing).
http {
proxy_buffering off;
access_log off;
server_tokens off;
#include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
include /usr/local/nginx/conf/*_server.conf;
client_max_body_size 300M;
}
3. Then restart nginx service on SBC with service nginx restart
If using remote workers then PPM will stop working for a while, there should not be any impact on calls.
Note: It's very likely the above changes will not survive a service pack or upgrade, especially an upgrade to 7.1 SP1 where this variable is configurable from within EMS/reverse proxy settings.