Re: Воркер падает в корку по SIGSEGV (с примером)

2018-06-26 Thread Maxim Dounin
Hello! On Fri, Jun 22, 2018 at 11:25:00AM -0400, nickolay wrote: > Всех приветствую! > > Есть простой perl-модуль, который работает под nginx без проблем на древних > версиях (кажется до 1.7), а на свежих версиях nginx этот модуль приводит к > тому, что воркеры начинают падать в корку по

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

Re: Как работает include

2018-06-26 Thread Maxim Dounin
Hello! On Thu, Jun 21, 2018 at 03:53:38AM -0400, Aleksandr_Petrov wrote: > Dmitry Ivanov Wrote: > --- > > Здравствуйте, Aleksandr_Petrov. > > > > Вы писали 20 июня 2018 г., 19:03:50: > > > > > Подскажите пожалуйста как работает include в

Re: How does nginx handle incomplete upstream writes

2018-06-26 Thread Maxim Dounin
Hello! On Mon, Jun 25, 2018 at 01:42:59PM -0400, scott.o...@oracle.com wrote: > I have a situation where when using nginx as a proxy, large POST > requests to my upstream server sometimes fail -- for whatever reason > (network congestion, upstream server paused for java GC. etc.), the >

Re: image_filter size

2018-06-26 Thread Maxim Dounin
Hello! On Tue, Jun 26, 2018 at 04:42:06AM -0400, imsystem wrote: > Здравствуйте. > Есть модуль https://nginx.ru/ru/docs/http/ngx_http_image_filter_module.html > В нём есть директива image_filter size; > Так вот, извините за глупый вопрос, где посмотреть ответ данной директивы? И > возможно его

Re: Аналог функционала IncludeOptional в Apache2

2018-06-26 Thread Maxim Dounin
Hello! On Fri, Jun 22, 2018 at 01:23:21PM +0300, Dmitriy Kovalkov wrote: > Уточните, пожалуйста, планируется ли к реализации или можно ли запросить > аналог на https://httpd.apache.org/docs/2.4/mod/core.html#includeoptional > > Юзкейс простой - есть панель управления сервером, которая

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:

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:

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,

[njs] Introduced nxt_length() macro.

2018-06-26 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/255c79369f59 branches: changeset: 540:255c79369f59 user: Valentin Bartenev date: Tue Jun 26 18:25:22 2018 +0300 description: Introduced nxt_length() macro. diffstat: nginx/ngx_http_js_module.c | 4 ++-- njs/njs.c | 2 +-

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

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

image_filter size

2018-06-26 Thread imsystem
Здравствуйте. Есть модуль https://nginx.ru/ru/docs/http/ngx_http_image_filter_module.html В нём есть директива image_filter size; Так вот, извините за глупый вопрос, где посмотреть ответ данной директивы? И возможно его вытащить в переменную? Задачка простая - уменьшать картинки, с этим проблем