Re: File Upload Permissions Issues

2018-06-26 Thread Maxim Dounin
Hello! On Wed, Jun 27, 2018 at 12:56:09AM -0400, VP Lists wrote: [...] > OK, here’s where things get interesting: > > On MacOS El Capitan: > --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp > /usr drwxr-xr-x@ 13 root wheel >

Re: File Upload Permissions Issues

2018-06-26 Thread VP Lists
> On Jun 26, 2018, at 10:51 PM, Maxim Dounin wrote: > > Hello! Hello there. Thanks for the reply. > On Tue, Jun 26, 2018 at 04:56:55PM -0400, VP Lists wrote: > >> I’m having a problem uploading any files of any significant size to a test >> site on my workstation. >> >> 2018/06/26 16:50:

Re: File Upload Permissions Issues

2018-06-26 Thread Maxim Dounin
Hello! On Tue, Jun 26, 2018 at 04:56:55PM -0400, VP Lists wrote: > I’m having a problem uploading any files of any significant size to a test > site on my workstation. > > 2018/06/26 16:50:20 [crit] 36196#0: *1099 open() > "/usr/local/var/run/nginx/client_body_temp/18" failed (13: Perm

Re: 413 Request Entity Too Large

2018-06-26 Thread VP Lists
I am guessing it’s the permissions issue on the incoming temp folder. I just posted the same on the list, not published yet. 2018/06/26 16:50:20 [crit] 36196#0: *1099 open() "/usr/local/var/run/nginx/client_body_temp/18" failed (13: Permission denied), client: 127.0.0.1, server: pass1.

File Upload Permissions Issues

2018-06-26 Thread VP Lists
Hi folks. I’m having a problem uploading any files of any significant size to a test site on my workstation. 2018/06/26 16:50:20 [crit] 36196#0: *1099 open() "/usr/local/var/run/nginx/client_body_temp/18" failed (13: Permission denied), client: 127.0.0.1, server: pass1.local, request:

Re: changing secure_link_secret

2018-06-26 Thread Robert Paprocki
You could either write a custom nginx module to read your file/env variable and provide it as an nginx variable, or you could use Lua/OpenResty to read/write the secret value (the latter is safer but more expensive) Sent from my iPhone > On Jun 26, 2018, at 07:25, Danomi Czaski wrote: > > I w

changing secure_link_secret

2018-06-26 Thread Danomi Czaski
I would like to create a secure link and be able to easily change the secret as desired. Short of rewriting the config file and restarting nginx, is there an easy way to do this? Ideally I'd like nginx to read the secret from a file. ___ nginx mailing l

Re: How to log the number of bytes sent over a websocket?

2018-06-26 Thread Fabrice Triboix
That worked indeed! I used nginx-1.14.0, and it does work. Thanks a lot! On 25/06/18 13:04, Sergey Kandaurov wrote: On 22 Jun 2018, at 16:38, Fabrice Triboix wrote: Hi All, I am using nginx as a websocket reverse-proxy (this is working fine BTW). I would like to log the number of bytes sent