Upload filesize

Bug #1801866 reported by GunChleoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website
Invalid
Undecided
Unassigned

Bug Description

I'm having problems uploading the screenshots for the screenshot competition

413 Request Entity Too Large

The files are too big - would it be OK for the server disk space/load to allow 2MB?

Revision history for this message
kaputtnik (franku) wrote :

Looks like an issue from nginx. The related setting is:

As far i can see this value isn't set at all in our nginx configuration, so the default of 1m applies.

https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size

Was that a .png file? In case of yes, it should be considered to converting into jpeg. Having 10 Images with size of 2MB will result in serving 20MB from the server, which results in a lot of bandwidth i think.

We have enough disk space:

Current Server free disk space: 70G from 100G
Current server disk used inodes: 33%

Not sure if we should allow 2M.

Revision history for this message
GunChleoc (gunchleoc) wrote :

OK, I'll try the JPEG route first.

Revision history for this message
kaputtnik (franku) wrote :

Looks like it worked with jpeg.

I set this bug to invalid, fell free to reopen it again :-)

Changed in widelands-website:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.