Update on: nginx makes mysqld die all the time

2015-08-24 Thread M. Fioretti
On 2015-08-18 15:23, M. Fioretti wrote: Greetings, I just migrated to nginx + php-fpm from apache a few websites, on a centos 6.6 virtual server. The sites are up but... now mysqld (MariaDB, actually) dies every 10/20 **minutes** with status: Greetings, after a few days, I can report that sett

Re: Client specified server port

2015-08-24 Thread ryd994
Hi, Maybe you can use following config which is shorter and does not use the evil "if". map $http_host $redirect_port { default ""; .*(:\d+) $1; } return 302 $scheme://$host$redirect_port/ On Tue, Aug 25, 2015, 06:35 Joó Ádám wrote: > Hi, > > The return directive allows the use of URLs

Re: "Dereferencing Pointer To Incomplete Type" on ARM

2015-08-24 Thread vindicator
Thanks, but no. I'm still getting that error: * cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl.o \ src/event/ngx_event_openssl.c src/event/ngx_e

Re: Internal marked 503 error page returns default 404

2015-08-24 Thread ryd994
Hi Adam, Why not use @named location directly? error_page 503 @unavailable; location @unavailable { alias /absolute/path/to/file; } Notice the path is not related to document root. On Tue, Aug 25, 2015, 05:33 Joó Ádám wrote: Hi Francis, Thank you for your response. After some furth

Client specified server port

2015-08-24 Thread Joó Ádám
Hi, The return directive allows the use of URLs relative to the server, in which case the scheme, server name and port are automatically prepended by Nginx. The port is, however, the port on which the request was received, which is not always the port to which the request was sent, i. e. the one

Gzip vs. sendfile

2015-08-24 Thread Joó Ádám
Hi, From : > Note, however, that because the data never touches user space it’s not > subject to the filters in the regular NGINX processing chain. As a result, > filters that change content, for example the gzip filter, have no effect. Which never occ

Re: Internal marked 503 error page returns default 404

2015-08-24 Thread Joó Ádám
Hi Francis, Thank you for your response. After some further reading I think now I get the processing cycle. I would rather not create a separate root for one file, so I settled with the following: location = /unavailable.html { return 503; } location @unavailable { tr

Re: Cache structs 1.6.x vs 1.8.x

2015-08-24 Thread biazus
Hi Guys, We have developed a "cache migration tool" in order to keep the cache compatibility between Nginx 1.6.x and 1.8.x. Comments and suggestions are welcome! https://github.com/acaciocenteno/ngx_scripts Thanks, Biazus Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261151,2612

Re: "Dereferencing Pointer To Incomplete Type" on ARM

2015-08-24 Thread Maxim Dounin
Hello! On Wed, Aug 19, 2015 at 09:15:07AM -0400, vindicator wrote: > I swear I had built the hg default version on my AMD64 just fine, but now > I'm doing it on my ARM device running Ubuntu 15.04 with kernel 4.2. > I used the default system openssl, but also tried with the master git > version al

Re: Broadcast

2015-08-24 Thread Sarah Novotny
Hi Maddy, There is not support for broadcasting a request to all upstream servers. What is your use case? Perhaps the crowd here can offer a different solution for your use case. sarah > On Aug 24, 2015, at 9:27 AM, smsmaddy1981 wrote: > > Subject updated pls. > > Posted at Nginx Forum

Re: Broadcast

2015-08-24 Thread smsmaddy1981
Subject updated pls. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261202,261203#msg-261203 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Broarcast

2015-08-24 Thread smsmaddy1981
Hi, Is there any possibility to broadcast the request to all servers configured in upstream pls.? Best regards, Maddy Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261202,261202#msg-261202 ___ nginx mailing list nginx@nginx.org http://mai