ok, can yo send me the nginx config and the keys that you are using to test? On Mon, Feb 15, 2010 at 20:45, Markus Jelsma <markus@buyways.nl> wrote: > Hi, > > > I have no weights configured, just a simple upstream block with four server > 127.0.0.1:1234 lines. > > > Cheers, > >>just now i downloaded the nginx module from the wiki again, added some >>dby replay - Nginx Mailing List - English
just now i downloaded the nginx module from the wiki again, added some debug statements to it, then i downloaded the latest memcache module from pecl and compiled it with 5.3.0 and i tested with 4 memcache servers. i haven't found any problem. for me the two always connect to the same memcache. are you having some weights configured? i think this might cause trouble maybe... On Mon, Feb 15, 20by replay - Nginx Mailing List - English
could you please send me your nginx configs, the memcache server ips/port, and the memcache keys you tested with? On Mon, Feb 15, 2010 at 19:23, Markus Jelsma <markus@buyways.nl> wrote: > Hi Mauro, > > > Indeed, but also Python's library (1.40). Both behave equal. > > > Cheers, > > >>hi >> >>you use the php memcache module 3.0.1. i have never tesby replay - Nginx Mailing List - English
hi you use the php memcache module 3.0.1. i have never tested the consisten hashing with memcache modules above 2.x yet. i can take a look at it, maybe the hashing has changed. mauro On Mon, Feb 15, 2010 at 18:56, Markus Jelsma <markus@buyways.nl> wrote: > Hi, > > > I have a cluster with four memcache daemons and am using the current > UpstreamConsistentHash [1] module withby replay - Nginx Mailing List - English
hi i recently wrote an nginx module that can extract certain values out of a serialized php session. in my case i'm retrieving the php session from a memcache. this thing isn't tested in prod, in fact i started it yesterday. but it seems to work and i can't find any bigger problems with it at the moment. currently it works like this: 33 location / { 34 eval $session { 35by replay - Nginx Mailing List - English
you should check the eval module: http://www.grid.net.ru/nginx/eval.en.html On Fri, Feb 5, 2010 at 18:56, Markus Jelsma <markus@buyways.nl> wrote: > Hello list, > > > I need some advice on how to solve my use-case. I have a memcache backend with > some keys and values. Every HTTP request carries a cookie with a SHA1 hash as > value, this cookie value is also a key in memcaby replay - Nginx Mailing List - English
thanks for the tip, the combination with mod_eval works great. i modified my module a little and use it in combination with mod_eval to create a variable in the nginx config file that contains the authentication status of a user. my colleague alvaro videla wrote a little python server which can give me the authentication status of a user based on the php session cookie which i am passing to himby replay - Nginx Mailing List - English
looks great, i will try that, thanks On Sun, Jan 24, 2010 at 23:49, Piotr Sikora <piotr.sikora@frickle.com> wrote: > Use eval module. > > Best regards, > Piotr Sikora < piotr.sikora@frickle.com > > > > _______________________________________________ > nginx mailing list > nginx@nginx.org > http://nginx.org/mailman/listinfo/nginx > _________________by replay - Nginx Mailing List - English
hi i am currently writing a module which should send the session_id cookie to an upstream, receive the upstreams answer, and based on the answer decide if it should deliver a page for authenticated users or a page for nonauthenticated ones. i do actually have a working version now, but i think the way how i solved it is not very optimal yet because i am kind of abusing the status_n integer of upsby replay - Nginx Mailing List - English
you have to start it as root, users don't have privs to open ports below 1024 On Mon, Jan 4, 2010 at 21:19, Arthur Chan <lists@ruby-forum.com> wrote: > Hi Guys, > > I am using ubuntu and having nginx with thin (using sockets) and rails > successfully --- only on port 3000 and 3080. > > When I try to change the nginx config and > listen 80; > > > it fails and thby replay - Nginx Mailing List - English
thanks a lot, that works perfectly, even with my old version 0.6.35 mauro 2009/10/2 Igor Sysoev <is@rambler-co.ru>: > On Fri, Oct 02, 2009 at 11:34:57AM +0800, Mauro Stettler wrote: > >> hi >> >> i am currently experiencing some strange behavior if a user requests >> our domain with a . in the end of the domain. the actual problem is >> that our php cby replay - Nginx Mailing List - English
hi i am currently experiencing some strange behavior if a user requests our domain with a . in the end of the domain. the actual problem is that our php code can't really get along with that . in the end of the domain. so i tried creating an nginx rule that fixes this by doing a redirect to the correct domain. i tried multiple things, first i just left our actual production vhost untouched and adby replay - Nginx Mailing List - English
Hi I don't know how you could do what you are intending to do. But are you aware of that you would create an open proxy if you put that out into the wild?by replay - How to...