-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant upload files larger than 100MB #32
Comments
Im using Docker. My env vars are:
|
No, same problem even with localhost |
I would check your nginx block/apache configs. I had to edit my nginx block to include the below for a 128MB limit:
|
im not using a reverse proxy, the error still happens if i run it localy on my computer and connect to it via 127.0.0.1 |
Can confirm the issue. Uploading file trough my HAPRoxy > Nextcloud without any problem. |
To solve it : At this line https://github.com/wantguns/bin/blob/master/src/main.rs#L68 Replace
With
Which actually allows binary_upload_limit to be set via your env VARS. You can then add this env your docker-compose env vars : - BINARY_UPLOAD_LIMIT=1000 In your docker-compose to set the limit at 1GiB just fine. You can git clone this project to "./bin", change the source code, and change your docker-compose.yml as such : services:
pastebin:
image: my_bin:latest
build: ./bin/
[...] docker comose up -d, will build and up the project fine. |
No description provided.
The text was updated successfully, but these errors were encountered: