Maxsize limitation setting for uploading file #79

Closed
opened 2025-11-02 03:07:52 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @lunny on GitHub (Nov 24, 2016).

Sometimes, we have to limit the max file size to upload. Then we can set it on repo settings.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39505395-maxsize-limitation-setting-for-uploading-file?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).
Originally created by @lunny on GitHub (Nov 24, 2016). Sometimes, we have to limit the max file size to upload. Then we can set it on repo settings. <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39505395-maxsize-limitation-setting-for-uploading-file?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github). </bountysource-plugin>
GiteaMirror added the type/feature label 2025-11-02 03:07:52 -06:00
Author
Owner

@jhasse commented on GitHub (Nov 24, 2016):

Isn't this possible via the webserver, e.g. nginx, already?

@jhasse commented on GitHub (Nov 24, 2016): Isn't this possible via the webserver, e.g. nginx, already?
Author
Owner

@tboerger commented on GitHub (Nov 24, 2016):

Various people aren't using a Web server like that

@tboerger commented on GitHub (Nov 24, 2016): Various people aren't using a Web server like that
Author
Owner

@bkcsoft commented on GitHub (Nov 24, 2016):

If this is implemented, we should add a note near the setting (if running behind a proxy) that says

You seem to be running behind a proxy.
Please keep in mind that you are still limited
by the settings of the proxy.

See links below for changing the appropriate settings in the proxy.
Nginx: <link>
Apache: <link>
[more proxies...]

Or something similar :)

@bkcsoft commented on GitHub (Nov 24, 2016): If this is implemented, we should add a note near the setting (if running behind a proxy) that says ``` You seem to be running behind a proxy. Please keep in mind that you are still limited by the settings of the proxy. See links below for changing the appropriate settings in the proxy. Nginx: <link> Apache: <link> [more proxies...] ``` Or something similar :)
Author
Owner

@krombel commented on GitHub (Aug 14, 2018):

Isn't that already implemented on this place?
Or which are the places which need to be Limited?

@krombel commented on GitHub (Aug 14, 2018): Isn't that already implemented on [this place](https://github.com/go-gitea/gitea/blob/7781e8c/modules/setting/setting.go#L218)? Or which are the places which need to be Limited?
Author
Owner

@lunny commented on GitHub (Aug 15, 2018):

@krombel I think you are right.

@lunny commented on GitHub (Aug 15, 2018): @krombel I think you are right.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#79