<div dir="ltr">Good day!<div><br></div><div>We have an Institutional Repository server that uses NGINX as load balancer but we encountered problem when trying to upload documents to the repository. It only accepts maximum of 128 kb of data, but the client_max_body_size 500M;. Is there a way to locate the cause of error.</div><div><br></div><div>Here are our NGINX configuration files</div><div><br></div><div><br></div><div><div><b>/etc/nginx/nginx.conf</b><br><br><br>worker_processes auto;<br>pid /run/nginx.pid;<br>include /etc/nginx/modules-enabled/*.conf;<br><br>events {<br>       worker_connections 768;<br>       # multi_accept on;<br>}<br><br>http {<br><br>       <br>       # Basic Settings<br>     <br>       sendfile on;<br>       tcp_nopush on;<br>       types_hash_max_size 2048;<br>       client_max_body_size 500M;<br>       # server_tokens off;<br><br>       # server_names_hash_bucket_size 64;<br>       # server_name_in_redirect off;<br><br>       include /etc/nginx/mime.types;<br>       default_type application/octet-stream;<br><br>       ##<br>       # SSL Settings<br>       ##<br><br>       ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE<br>       ssl_prefer_server_ciphers on;<br><br>       ##<br>       # Logging Settings<br>       ##<br><br>       access_log /var/log/nginx/access.log;<br>       error_log /var/log/nginx/error.log;<br><br>       ##<br>       # Gzip Settings<br>       ##<br><br>       gzip_vary on;<br><br>       # gzip_vary on;<br>       # gzip_proxied any;<br>       # gzip_comp_level 6;<br>       # gzip_buffers 16 8k;<br>       # gzip_http_version 1.1;<br>       # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;<br><br>       ##<br>       # Virtual Host Configs<br>       ##<br><br>       include /etc/nginx/conf.d/*.conf;<br>       include /etc/nginx/sites-enabled/*;<br>}</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><b>/etc/nginx/site-available/<a href="http://test.edu.ph/" target="_blank">test.edu.ph</a></b><br></div><br>server {<br>   server_name <a href="http://test.edu.ph/" target="_blank">test.edu.ph</a>;<br><br>   location / {<br>       proxy_pass <a href="https://192.168.8.243/" target="_blank">https://192.168.8.243</a>;<br>       proxy_set_header Host $host;<br>       proxy_set_header X-Real-IP $remote_addr;<br>       proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>       proxy_set_header X-Forwarded-Proto $scheme;<br>       client_max_body_size 500M;<br>   }<br><br>   listen 443 ssl; # managed by Certbot<br>   ssl_certificate /etc/letsencrypt/live/<a href="http://test.edu.ph/fullchain.pem" target="_blank">test.edu.ph/fullchain.pem</a>; # managed by Certbot<br>   ssl_certificate_key /etc/letsencrypt/live/<a href="http://test.edu.ph/privkey.pem" target="_blank">test.edu.ph/privkey.pem</a>; # managed by Certbot<br>   include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot<br>   ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot<br>   client_max_body_size 500M;<br><br>}<br><br>server {<br>   if ($host = <a href="http://test.edu.ph/" target="_blank">test.edu.ph</a>) {<br>       return 301 https://$host$request_uri;<br>   } # managed by Certbot<br><br><br>   listen 80;<br>   server_name <a href="http://test.edu.ph/" target="_blank">test.edu.ph</a>;<br>   return 404; # managed by Certbot<br>   client_max_body_size 500M;<br>}<br><div><br></div><div>Need help with this one. Thank you!</div></div></div>