Nginx client_max_body_size

Started by rrosson, February 20, 2020, 05:26:42 PM

Previous topic - Next topic
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

Please create a feature request on GitHub

#1708 Opened as a feature request.

October 15, 2024, 10:40:22 PM #3 Last Edit: October 17, 2024, 12:08:32 AM by MOSDEV82
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...




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?
APU4D4
APU2E4