Re: nginx Segmentation fault

2014-06-05 Thread kyprizel
No, it does not help. The problem somewhere in body reading/processing. On Wed, Jun 4, 2014 at 8:10 PM, Andrei Belov wrote: > Not yet. > > Quick look makes me think that "client_body_in_file_only on;" might help. > > -- defan > > On 04 июня 2014 г., at 19:58, kyprizel wrote: > > Andrei, have

Re: DNS resolution of backends

2014-06-05 Thread MaxDudu
Sounds exactly like what I'm looking for thank you Reinis ! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250669,250677#msg-250677 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Dynamic config options from ENV

2014-06-05 Thread Reinis Rozitis
I am currently experimenting with docker and dynamic setups which work for all environments… too bad that we need to use a custom script do handle the problem at hand. Well probably not that bad if you can use something allready made: https://index.docker.io/u/shepmaster/nginx-template-image/

[ANN] Windows nginx 1.7.2.2 RedKnight

2014-06-05 Thread itpp2012
20:13 5-6-2014 nginx 1.7.2.2 RedKnight Based on nginx 1.7.2 (5-6-2014) with; + Openssl-1.0.1h (CVE-2014-0224, CVE-2014-0221, CVE-2014-0195, CVE-2014-0198, CVE-2010-5298, CVE-2014-3470) + New nginx Windows icon + Source changes back ported + Source changes add-on's back ported + Changes for nginx

Re: Dynamic config options from ENV

2014-06-05 Thread Maximilian Schulz
Thank you Jonathan, I was afraid that this is the only option… really sad :( I am currently experimenting with docker and dynamic setups which work for all environments… too bad that we need to use a custom script do handle the problem at hand. But thank you very much. Max On Thu, Jun 5, 2014

Asynchronous file processing

2014-06-05 Thread erankor2
Hi all, I'm working on a native nginx module in which I want to read an input file and perform some manipulations on its data. Since the files I'm reading are big and accessed over NFS, I want to use asynchronous I/O for reading them, and I want to implement it as a pipeline of chunks, i.e. read a

Re: Dynamic config options from ENV

2014-06-05 Thread Jonathan Matthews
On 5 June 2014 17:00, Maximilian Schulz wrote: > Hi everybody, > > is it possible to set a nginx config variable from an ENV variable? I tried > several thing, but none of them worked. The most promising was specifying > "env MY_VAR;" at the top of the nginx.conf and then using its value via > "my

Dynamic config options from ENV

2014-06-05 Thread Maximilian Schulz
Hi everybody, is it possible to set a nginx config variable from an ENV variable? I tried several thing, but none of them worked. The most promising was specifying "env MY_VAR;" at the top of the nginx.conf and then using its value via "my_option $ENV{"MY_VAR"};". But it didn't work. I always got

Re: DNS resolution of backends

2014-06-05 Thread Reinis Rozitis
We run a reverse proxy to Amazon S3 service. Sometime Amazon change their IPs and some of them may become unresponsive and render reservse proxy unusuable. Is there options to force nginx to re-resolve IPs of backends lets say each 5 mins ? Give the upstream{} block the hostnames of the instance

DNS resolution of backends

2014-06-05 Thread MaxDudu
Hi guys We run a reverse proxy to Amazon S3 service. Sometime Amazon change their IPs and some of them may become unresponsive and render reservse proxy unusuable. Is there options to force nginx to re-resolve IPs of backends lets say each 5 mins ? Thanks ! Posted at Nginx Forum: http://forum.n

Google Analytics event generation by using Nginx logs

2014-06-05 Thread dirknel
Hi This is my first posting here, so HI to everyone :) I would like to generate Google Analytics events for documents/videos served directly by Nginx. Currently the user of our system can either get the docs by going through our website or by going directly to the url. In the first instance the

Re: Can't get nginx to work with Adminer nor phpMyadmin

2014-06-05 Thread KC
Hello I want to be able to type http://ipaddress/phpmyadmin (or adminer) and see its respective interface. But as it is now, I only get 404 error. If you want http://ipaddress/phpmyadmin and http://ipaddress/adminer to both work, you will probably want a single server{} block with all of the c

Re: Nginx 1.7.0: location @php

2014-06-05 Thread Reinis Rozitis
I'm sorry, I did not understood nothing. Can you provide an example of how to avoid repeating the php configuration through @php location? As someone said in earlier mails you can always use include and put the repeating parts in seperate files. For example put this into php.conf: location ~

Re: Redirect to custom landing pages based on http referer

2014-06-05 Thread Francis Daly
On Thu, Jun 05, 2014 at 03:15:26AM -0400, justink101 wrote: Hi there, > Is it possible using nginx to essentially look at the http referer header, > and if its set to a specific value, and the page is index.html or /, > redirect to a custom landing page. Yes. With a few other assumptions: lo

Redirect to custom landing pages based on http referer

2014-06-05 Thread justink101
Is it possible using nginx to essentially look at the http referer header, and if its set to a specific value, and the page is index.html or /, redirect to a custom landing page. For example: # Psuedo code if($page = "index.html" and $http_referer ~* (www\.)?amazon.com.*) { rewrite ^ "our-am