OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: rrosson on February 20, 2020, 05:26:42 PM

Title: Nginx client_max_body_size
Post by: rrosson on February 20, 2020, 05:26:42 PM
Is there is place to change the value of "client_max_body_size". One of the services I have sitting behind my OPNsense firewall's Nginx reverse proxy is nextcloud. I have searched through every menu inside of the Nginx proxy and am unable to find where to change this value. My current hack/workaround is editing the file directly till I can find a resolution.

I am aware this is not recommended but am only hoping it is going to be short term.

TIA
Title: Re: Nginx client_max_body_size
Post by: fabian on February 20, 2020, 06:59:14 PM
Please create a feature request on GitHub
Title: Re: Nginx client_max_body_size
Post by: rrosson on February 20, 2020, 07:29:11 PM
#1708 Opened as a feature request.
Title: Re: Nginx client_max_body_size
Post by: MOSDEV82 on October 15, 2024, 10:40:22 PM
Hello guys,

I found out a solution for this issue... I need to use this to upload ISO Images to my Proxmox VE.

Here is a step by step guide (OPNsense 24.7.6)
In NGINX Configuration click:
1. Edit your HTTP Server profile
2. Enable "advanced mode"
3. Scroll down to "Maximum Body Size" and enter a big value like "8192m" for 8GB

Hint: after reviewing this, the field seems empty when you edit the profile again. But in config preview the settings are still valid.

This works for me...


Title: Re: Nginx client_max_body_size
Post by: jelly-b92 on April 14, 2025, 04:50:41 PM

Quote from: MOSDEV82 on October 15, 2024, 10:40:22 PMHello guys,

I found out a solution for this issue... I need to use this to upload ISO Images to my Proxmox VE.

Here is a step by step guide (OPNsense 24.7.6)
In NGINX Configuration click:
1. Edit your HTTP Server profile
2. Enable "advanced mode"
3. Scroll down to "Maximum Body Size" and enter a big value like "8192m" for 8GB

Hint: after reviewing this, the field seems empty when you edit the profile again. But in config preview the settings are still valid.

This works for me...





Geee! thank you!

I was wondering, if somebody has some good manual for troubleshooting / creating whitelists from the learning mode logs?