[GH-ISSUE #353] rewrite default http config :client_max_body_size #305

Closed
opened 2026-02-26 06:32:11 +03:00 by kerem · 5 comments
Owner

Originally created by @Lekinio on GitHub (Apr 8, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/353

trying to change client_max_body_size size by creatint file in /data/nginx/custom/http.conf

but its return error duplicated directive

Originally created by @Lekinio on GitHub (Apr 8, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/353 trying to change client_max_body_size size by creatint file in /data/nginx/custom/http.conf but its return error duplicated directive
kerem 2026-02-26 06:32:11 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@nightcomdev commented on GitHub (Apr 8, 2020):

I'm not sure but did you try just add it in "Advanced" when you edit domain? I mean this should resolve problem right? That's what this field is for I guess. for example:
client_max_body_size 40m;

<!-- gh-comment-id:611130518 --> @nightcomdev commented on GitHub (Apr 8, 2020): I'm not sure but did you try just add it in "Advanced" when you edit domain? I mean this should resolve problem right? That's what this field is for I guess. for example: `client_max_body_size 40m;`
Author
Owner

@jc21 commented on GitHub (Apr 8, 2020):

Correct, because it's already defined here

client_max_body_size 2000m;

Is 2000mb a problem?

<!-- gh-comment-id:611233249 --> @jc21 commented on GitHub (Apr 8, 2020): Correct, because it's already [defined here](https://github.com/jc21/nginx-proxy-manager/blob/master/docker/rootfs/etc/nginx/nginx.conf) `client_max_body_size 2000m;` Is 2000mb a problem?
Author
Owner

@Lekinio commented on GitHub (May 25, 2020):

Correct, because it's already defined here

client_max_body_size 2000m;

Is 2000mb a problem?

yes and i want to edit it. i want to increase

<!-- gh-comment-id:633501450 --> @Lekinio commented on GitHub (May 25, 2020): > Correct, because it's already [defined here](https://github.com/jc21/nginx-proxy-manager/blob/master/docker/rootfs/etc/nginx/nginx.conf) > > `client_max_body_size 2000m;` > > Is 2000mb a problem? yes and i want to edit it. i want to increase
Author
Owner

@github-actions[bot] commented on GitHub (Mar 30, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2027867545 --> @github-actions[bot] commented on GitHub (Mar 30, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (May 10, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2868225139 --> @github-actions[bot] commented on GitHub (May 10, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#305
No description provided.