Re: [web2py] web2py, nginx and big files

2018-04-22 Thread Carlos Cesar Caballero Díaz
Thanks Richard, I will take a look. Greetings. El 20/04/18 a las 14:56, Richard Vézina escribió: You seems to have found good information... I don't have much time to investigate that subject and realize it could be quite complexe... And involve security issue :

Re: [web2py] web2py, nginx and big files

2018-04-20 Thread Richard Vézina
You seems to have found good information... I don't have much time to investigate that subject and realize it could be quite complexe... And involve security issue : https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/ Although, I thought that you might have a read that

Re: [web2py] web2py, nginx and big files

2018-04-20 Thread Carlos Cesar Caballero Díaz
El 19/04/18 a las 16:21, Richard Vézina escribió: Ah ok, make sens then. Are you storing the file in database or on file system at web2py level?? In the file system, I think that storing big (or so many) files in the database can overload it. There is surely a way to make the copy only

Re: [web2py] web2py, nginx and big files

2018-04-19 Thread Richard Vézina
Ah ok, make sens then. Are you storing the file in database or on file system at web2py level?? There is surely a way to make the copy only once at the right place, but I am pretty sure it mean writting some customization at uwsgi level and most probably some conf in nginx to bypass it usual

Re: [web2py] web2py, nginx and big files

2018-04-18 Thread Carlos Cesar Caballero Díaz
El 18/04/18 a las 13:54, Richard Vézina escribió: That big... Hope it could work for you... Well, right now is working with your suggestion, but not perfect, is really slow because nginx uploads the file to a tmp file, next seems to copy the file to another place (I assume to uwsgi) and

Re: [web2py] web2py, nginx and big files

2018-04-18 Thread Richard Vézina
That big... Hope it could work for you... Are you trying to make El packet transiting the island faster or what... :D Richard On Wed, Apr 18, 2018 at 1:45 PM, Carlos Cesar Caballero Díaz < carlos.caball...@cfg.jovenclub.cu> wrote: > Thanks Richard, It seems to be working now. The files can be

Re: [web2py] web2py, nginx and big files

2018-04-18 Thread Carlos Cesar Caballero Díaz
Thanks Richard, It seems to be working now. The files can be several Gigabytes. Greetings. El 17/04/18 a las 13:10, Richard Vézina escribió: How big? https://www.bookstackapp.com/docs/admin/upload-limits/ https://www.nginx.com/resources/wiki/modules/upload/#upload-max-file-size Quote

Re: [web2py] web2py, nginx and big files

2018-04-17 Thread Richard Vézina
How big? https://www.bookstackapp.com/docs/admin/upload-limits/ https://www.nginx.com/resources/wiki/modules/upload/#upload-max-file-size Quote from the above link: For “hard” limit client_max_body_size directive must be used. The value of zero for this directive specifies that no restrictions

[web2py] web2py, nginx and big files

2018-04-17 Thread Carlos Cesar Caballero Díaz
Hi, I have a web2py + nginx setup (https://github.com/arisobel/web2py_scripts/blob/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh) and I need to upload big files to my application, the app is working ok with the built in server, but with nginx the form submission fails with no response when