OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Nginx client_max_body_size
« previous next »
  • Print
Pages: [1]

Author Topic: Nginx client_max_body_size  (Read 2384 times)

rrosson

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Nginx client_max_body_size
« 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
Logged

fabian

  • Moderator
  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Nginx client_max_body_size
« Reply #1 on: February 20, 2020, 06:59:14 pm »
Please create a feature request on GitHub
Logged

rrosson

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Re: Nginx client_max_body_size
« Reply #2 on: February 20, 2020, 07:29:11 pm »
#1708 Opened as a feature request.
Logged

MOSDEV82

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Nginx client_max_body_size
« Reply #3 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...


« Last Edit: October 17, 2024, 12:08:32 am by MOSDEV82 »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Nginx client_max_body_size
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2