413 Request Entity Too Large

19 views
Skip to first unread message

Werner Strydom

unread,
Mar 7, 2010, 2:00:26 AM3/7/10
to Bombax Support
Hello,

I downloaded the developers edition and wrote a quick handler to allow
me to upload files. When passing a 15MB file, I get an error "413
Request Entity Too Large" when the form is submitted. I consulted the
nginx documentation which states I need to update the configuration to
allow for larger files to be uploaded from the client.

I modified "~/Library/Application Support/Bombax/bombax-nginx.conf"
and restarted the server. I noticed that the file reverted back to the
original, making me suspect that the file is generated.

How does one permit a 15MB+ file to be uploaded?

Depending on this prototype, I may abandon my java implementation
(which does a lot of JNI calls to Objective-C to call apple
frameworks).

Thanks,
Werner

Dominic Blais

unread,
Mar 7, 2010, 6:22:25 PM3/7/10
to bombax-...@googlegroups.com
That's a good question!  Early on I considered a feature in the GUI to allow adding custom overrides to the nginx.conf, but I was worried about creating an nginx dependency in projects.  Unfortunately, there isn't a way to do it currently.  You could try restricting it to read-only for root, but that could create other problems.  I will add an include to an empty custom-nginx.conf file in the next beta so that you and other users can add any changes to nginx as needed.  Thanks for the suggestion.
Sincerely,
Dominic Blais
COO & Hacker-in-Chief


--
You received this message because you are subscribed to the Google Groups "Bombax Support" group.
To post to this group, send email to bombax-...@googlegroups.com.
To unsubscribe from this group, send email to bombax-suppor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bombax-support?hl=en.


Reply all
Reply to author
Forward
0 new messages