Hi All,
I'm interested in exploring nginx as the basis for a proxy.
I'm having trouble locating reading material on nginx from a
development perspective. I found [0,1], but it looks like its for
administrators. I also found [2], but it looks like its interpreted.
For performance reasons, I'd pref
On Sat, Dec 7, 2013 at 10:39 PM, itpp2012 wrote:
> Full working config;
> http://www.cyberciti.biz/faq/custom-nginx-maintenance-page-with-http503/
>
Thanks for replying after having carefully read what is asked for by Ian
and not giving a too quick answer copy-pasted from Google
---
*B. R.*
__
Full working config;
http://www.cyberciti.biz/faq/custom-nginx-maintenance-page-with-http503/
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,245306,245316#msg-245316
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/list
On 7 December 2013 15:19, B.R. wrote:
> Hello,
>
>
> On Sat, Dec 7, 2013 at 4:10 PM, Jonathan Matthews
> wrote:
>>
>> > rewrite ^.*$ $target #Redirecting all traffic according to
>> > map-assigned
>>
>> I don't particularly like ^^^ this. It seems like a level of
>> indirection too far ;-)
>
On 2013-12-07 15:31, B.R. wrote:
Hello,
On Sat, Dec 7, 2013 at 6:31 PM, Ian Evans wrote:
Thanks. Ill give this a spin. Is there anyway to still trigger the
mapping based on the existence of a maintenance.whatever file? Just
thinking of the ease of quickly touching the maintenance file to
tr
Hello,
On Sat, Dec 7, 2013 at 6:31 PM, Ian Evans wrote:
> Thanks. I'll give this a spin. Is there anyway to still trigger the
> mapping based on the existence of a maintenance.whatever file? Just
> thinking of the ease of quickly touch'ing the maintenance file to trigger
> the mapping as oppo
On 2013-12-07 09:58, B.R. wrote:
I am new to the use of maps, but I suppose it would fit perfectly,
using core variables such as the binary IP address:
Maybe something like:
server {
error_page 503 /503.html # Configuring error page
map $binary_remote_addr $target { # Configuring white-
Hello,
On Sat, Dec 7, 2013 at 4:10 PM, Jonathan Matthews
wrote:
> > rewrite ^.*$ $target #Redirecting all traffic according to
> map-assigned
>
> I don't particularly like ^^^ this. It seems like a level of
> indirection too far ;-)
>
To me, your solution looks double evil:
1°) Using an u
On 7 December 2013 14:58, B.R. wrote:
> I am new to the use of maps, but I suppose it would fit perfectly, using
> core variables such as the binary IP address:
[snip]
> rewrite ^.*$ $target #Redirecting all traffic according to map-assigned
I don't particularly like ^^^ this. It seems like a
Did you try putting 'allow ;' above 'return...' line in if
block?
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
I am new to the use of maps, but I suppose it would fit perfectly, using
core variables such as the binary IP address:
Maybe something like:
server {
error_page 503 /503.html # Configuring error page
map $binary_remote_addr $target { # Configuring white-listed IP
addresses
default
Getting ready to convert the site to UTF-8 (finally!) and wanted to
know how I could issue error code 503 to all people and bots but still
allow my IP in so I can go 'round the site checking for glitches due to
the change.
Right now I have this implementation for 503's but that issues the
err
12 matches
Mail list logo