Nginx Deployments in Practice

2013-12-10 Thread Jeffrey Walton
My nginx needs are (1) stable nginx, (2) patched nginx, and (3) something I can modify. The last is what concerns me - I want to ensure I don't lose my changes and enhancements while pursuing (1) and (2). What are folks finding is the easiest way to ensure stable and patched nginx is used in the e

Re: alias

2013-12-10 Thread Francis Daly
On Tue, Dec 10, 2013 at 10:17:25PM +, Matthew Ngaha wrote: > > On Mon, Dec 09, 2013 at 05:03:55PM +, Matthew Ngaha wrote: Hi there, > >> http { > >>server { > >>server_name localhost; > >>root /var/www/website.com/html; > >> location /admin/ { > >> alia

Re: alias

2013-12-10 Thread Matthew Ngaha
> On Mon, Dec 09, 2013 at 05:03:55PM +, Matthew Ngaha wrote: > Where does the example come from? It may be worth asking the author to > fix it. Hi Francis It was from nginx http server >> http { >>server { >>server_name localhost; >>root /var/www/website.com/html; >>

Re: Upstrea/ Keepalive strange behaviour

2013-12-10 Thread Maxim Dounin
Hello! On Mon, Dec 09, 2013 at 04:52:11PM +, David DONCHEZ wrote: > Hello all, > > I have a strange behavior when using upstream/keepalive and it could be > fine if someone can give me some feedback regarding this setup. > > I have multiple locations with proxy_pass directive, i use > proxy

Re: nginx "Segementation Fault" - dont know where to start

2013-12-10 Thread Maxim Dounin
Hello! On Tue, Dec 10, 2013 at 02:56:56PM +, Ian Hobson wrote: > I am trying to compile version 1.4.4 with a couple of modules, and I have a > clean compile that runs on the test system just fine. However when I run it > on the production server it crashes with "Segmentation Fault" when the >

nginx "Segementation Fault" - dont know where to start

2013-12-10 Thread Ian Hobson
Hi all, I am trying to compile version 1.4.4 with a couple of modules, and I have a clean compile that runs on the test system just fine. However when I run it on the production server it crashes with "Segmentation Fault" when the service is restarted. There is nothing helpful in the logs th

Re: stalled cache updating - what does it mean?

2013-12-10 Thread Maxim Dounin
Hello! On Tue, Dec 10, 2013 at 11:24:33AM +0100, Richard Stanway wrote: > Hello, > I have a pretty basic PHP / fastcgi setup with a fastcgi cache as follows: > > fastcgi_cache_key "$scheme$request_method$host$request_uri"; > fastcgi_cache_lock on; > fastcgi_cache_bypass $skip_cache; > fastcgi_no

stalled cache updating - what does it mean?

2013-12-10 Thread Richard Stanway
Hello, I have a pretty basic PHP / fastcgi setup with a fastcgi cache as follows: fastcgi_cache_key "$scheme$request_method$host$request_uri"; fastcgi_cache_lock on; fastcgi_cache_bypass $skip_cache; fastcgi_no_cache $skip_cache; fastcgi_cache MAINCACHE; fastcgi_cache_valid 5m; I'm using nginx fr