
Hey all; Nate, many thanks for the updated wiki documentation on configuring nginx. Awesome stuff, with the help of this I've been able to get nginx handling uploads on our local galaxy server. I added some notes to the documentation about getting this running with a prefix, and also submitted a patch which sorts out some redirect issues with both nginx and a prefix: http://bitbucket.org/galaxy/galaxy-central/issue/366/uploads-from-tool-menu-... There's one issue related to uploading through nginx that I could use some advice on. Uploading larger (>1M) files was giving a 413 error, which appeared to be related to the client_max_body_size parameter: http://forum.slicehost.com/comments.php?DiscussionID=1714 Resetting client_max_body_size to a value larger than the upload file resolved the problem. Is this how you handle large file uploads on Galaxy main or is there a better way? If that's the right solution I can add a note to the wiki docs for future nginx users, but am not confident enough in my nginx skillz to start passing out advice without a bit of confirmation. Thanks much, Brad

Brad Chapman wrote:
Hey all; Nate, many thanks for the updated wiki documentation on configuring nginx. Awesome stuff, with the help of this I've been able to get nginx handling uploads on our local galaxy server. I added some notes to the documentation about getting this running with a prefix, and also submitted a patch which sorts out some redirect issues with both nginx and a prefix:
I saw your patch come in and was going to ask if you'd mind adding the prefix info to the wiki... and you already did. Awesome.
http://bitbucket.org/galaxy/galaxy-central/issue/366/uploads-from-tool-menu-...
I'll apply it shortly. Thanks!
There's one issue related to uploading through nginx that I could use some advice on. Uploading larger (>1M) files was giving a 413 error, which appeared to be related to the client_max_body_size parameter:
http://forum.slicehost.com/comments.php?DiscussionID=1714
Resetting client_max_body_size to a value larger than the upload file resolved the problem. Is this how you handle large file uploads on Galaxy main or is there a better way? If that's the right solution I can add a note to the wiki docs for future nginx users, but am not confident enough in my nginx skillz to start passing out advice without a bit of confirmation.
Ah yes, this is how we do it. I had forgotten about it so I left it out of the documentation. Sorry about that and I hope it didn't kill too much of your time. --nate
Thanks much, Brad _______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev

Nate; [patch for prefix and nginx]
I'll apply it shortly. Thanks!
Awesome, thanks much. Let me know if anything looks out of place or needs more work with it. [client_max_body_size]
Ah yes, this is how we do it. I had forgotten about it so I left it out of the documentation. Sorry about that and I hope it didn't kill too much of your time.
Perfect, I added a line and note to the wiki documentation in the server section. Thanks again for all the documentation; this is my first time using nginx and it was huge help to get oriented. Brad
participants (2)
-
Brad Chapman
-
Nate Coraor