Re: Puzzling Log messages talking to php-fpm

2020-12-02 Thread Nikolaos Milas
On 2/12/2020 12:44 π.μ., Reinis Rozitis wrote: Or even better is to use unix sockets so you can avoid the tcp stack between nginx and php-fpm at all. Thank you very much for your analysis and advice. You found the cause of the issue! I have managed to switch to connection via unix socket a

njs-0.5.0

2020-12-02 Thread Dmitry Volyntsev
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). This release focuses mostly on adding Buffer support in nginx modules. Buffer is a better alternative to string when working with arbitrary data and especially with binary protocols, because JavaScript strings operate o

Mp4 mime-type module

2020-12-02 Thread TuzluKestane
Hello , I am trying to build a mp4 mime-type module but ı can't find the mime-type for comparison. I tried to use r->headers_out.content_type but ıt didn't work.Here is the peace of the code. tmp=r->headers_out.content_type; if (tmp!=NULL && ngx_strncmp(tmp,"video/mp4",9)==0) {