Re: Nginx changing settings on the fly?

2013-07-26 Thread YesThatGuy
> So... Changing configuration would mean signaling the master process in some way... Sounds like it wouldn't be a good environment for frequently updating config values, and it doesn't seem like it would be a simple "bolt-on" feature given the architecture involved. > I am deeply sorry to have

Re: Nginx changing settings on the fly?

2013-07-26 Thread B.R.
Hi, On Fri, Jul 26, 2013 at 6:33 PM, YesThatGuy wrote: > B.R. thanks for not answering the question. Perhaps you'd do well to > RTFM(essage)? > ​ No problem, you are welcome...​ > > Should I assume that that only way to set the weight parameter is by > updating the config file and reloading th

Re: Nginx changing settings on the fly?

2013-07-26 Thread YesThatGuy
B.R. thanks for not answering the question. Perhaps you'd do well to RTFM(essage)? Should I assume that that only way to set the weight parameter is by updating the config file and reloading the config? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241311,241313#msg-241313 _

Re: Nginx changing settings on the fly?

2013-07-26 Thread B.R.
RTFM ^^ http://nginx.org/en/docs/beginners_guide.html#control http://nginx.org/en/docs/control.html The command described by the Beginner's Guide are available on the service file installed by the official package from the nginx.org repository. Have you even tried out Nginx properly before? That

Nginx changing settings on the fly?

2013-07-26 Thread YesThatGuy
We're currently using CrossRoads for our load balancing needs and are evaluating a switch to Nginx. We are excited by the existence of a pacemaker/heartbeat ocf script. But one of the needs that we have is that our web servers have somewhat volatile load averages. Some hits cause a tremendous amoun

Re: index and location not working together properly?

2013-07-26 Thread Ian Hobson
Hi Maxim, Thank you. That worked a treat. Regards Ian On 26/07/2013 16:25, Maxim Dounin wrote: Hello! On Fri, Jul 26, 2013 at 11:19:45AM +0100, Ian Hobson wrote: [...] root /home/ian/websites/reseller/htdocs; # if / then redirect to index.php location = / { # serve

Re: nginx 1.4.x file upload multipart ecoded

2013-07-26 Thread Yichun Zhang (agentzh)
Hello! On Fri, Jul 26, 2013 at 5:06 AM, David J wrote: > I was looking at resty upload module. I was curious how to store the file on > disk relative to the document root? > > For some reason it didn't work unless I specified the absolute path. > You can just obtain the document root in Lua via n

can't get http authentication to work

2013-07-26 Thread Michael Mitchell
Hi, I'm trying to implement HTTP authentication as outlined in this article https://www.digitalocean.com/community/articles/how-to-set-up-http-authentication-with-nginx-on-ubuntu-12-10 I went through the early steps in the tutorial where it prompts you to create a password. That was fine. I then a

Re: index and location not working together properly?

2013-07-26 Thread Maxim Dounin
Hello! On Fri, Jul 26, 2013 at 11:19:45AM +0100, Ian Hobson wrote: [...] > root /home/ian/websites/reseller/htdocs; > # if / then redirect to index.php > location = / { ># serve /index.php >rewrite ^$ /index.php last; The rewrite here does nothing as only URI "/" may

Re: Help with Keepalive on NGINX

2013-07-26 Thread Nick Toseland
Hi Maxim, Thanks for the reply, a great help. works as expected now :-) Have a good weekend Cheers Nick On Fri Jul 26 11:03:21 2013, Maxim Dounin wrote: Hello! On Fri, Jul 26, 2013 at 10:33:42AM +0100, Nick Toseland wrote: > Hi All, > > I am struggling to get keepalives to work on Nginx, I

Re: nginx 1.4.x file upload multipart ecoded

2013-07-26 Thread David J
I was looking at resty upload module. I was curious how to store the file on disk relative to the document root? For some reason it didn't work unless I specified the absolute path. Perhaps I am doing it wrong? On Jul 26, 2013 7:51 AM, "djczaski" wrote: > I have the same problem. The upload mod

Re: nginx 1.4.x file upload multipart ecoded

2013-07-26 Thread djczaski
I have the same problem. The upload module was exactly what I needed. I don't understand the complexity of why it can't be made to work in 1.4.x+. On Thu, Jul 25, 2013 at 8:04 PM, nenad wrote: > How I can handle multipart data uploads with the latest nginx release? > > The good old upload modul

index and location not working together properly?

2013-07-26 Thread Ian Hobson
Hi all, Still fighting with my nginx configuration. What I want to achieve. If static file exists in "reseller" root, serve from "reseller" root else if static file file exists in "central" root, then serve from "Central" root else reply with 404 endif If php file exists in "resell

Re: Help with Keepalive on NGINX

2013-07-26 Thread Maxim Dounin
Hello! On Fri, Jul 26, 2013 at 10:33:42AM +0100, Nick Toseland wrote: > Hi All, > > I am struggling to get keepalives to work on Nginx, I believe I have > added the necessary configuration. Can you take a look and suggest > where I may be going wrong or what I am missing? > > We have a nginx se

Help with Keepalive on NGINX

2013-07-26 Thread Nick Toseland
Hi All, I am struggling to get keepalives to work on Nginx, I believe I have added the necessary configuration. Can you take a look and suggest where I may be going wrong or what I am missing? We have a nginx server that sits in front of a varnish server which sits in front of the back-end s

Re: Update nginx with Ubuntu PPA

2013-07-26 Thread Sergey Budnevitch
On 26 Jul2013, at 08:34 , JackB wrote: > Valentin V. Bartenev Wrote: >>> This might be a little off topic, but how can one upgrade nginx on > ubuntu >>> with the official ppa via apt without having a restart of nginx but an >>> upgrade instead? (/etc/init.d/nginx upgrade) > >> Please note, th