Error 413 is produced by Nginx when IWSVA is used as a reverse proxy.
The error occurs because IWSVA does not change the default Nginx value of 1 MB upload size.
To fix this issue use the following workaround.
- Access IWSVA as root via SSH
-
Create a copy of /var/iwss/reverse_proxy/conf/main.conf file:
# cp /var/iwss/reverse_proxy/conf/main.conf /var/iwss/reverse_proxy/conf/main.conf.COPY
-
Use vi or vim to open and edit the /var/iwss/reverse_proxy/conf/main.conf file:
# vim /var/iwss/reverse_proxy/conf/main.conf
-
Add/edit the "client_max_body_size" after the "http {" line.
For example:
client_max_body_size 20M; -
Save the change and restart all IWSVA services by running this command:
# /usr/iwss/rcIwss restart