One of the things that I did was to use unix sockets to the backend. On 11/15/2013 12:33 PM, Anamitra Dutta Majumdar (anmajumd) wrote: > We are designing a deployment were NGINX front ends all incoming https > connection and then forwards it to multiple web containers like > Tomcat and Node.js which listen on internal ports on 127.0.0.1. > > I have some questions here > >by sv - Nginx Mailing List - English
I am have a problem I am very confused. There is an extra "?" added to the end of the rewrite. I have no idea why, I look at the logs, and is magically appears. I want to reload the login page, but nothing happens, any ideas? location /login/ { if ($args) { set $lin 1; rewrite ^/login/login(.*)$ /auth$1;by sv - Nginx Mailing List - English
I have many "virtual" paths on one nginx server. What I mean by this is there can be many top level paths, where each one has a cookie, static files, and a upstream server. The way I am doing it now is just duplicate every path. Is there a way to do this 'faster' 'less writing' 'better'? I am expecting 1000's of entries. upstream a1 { # server localhost:48000; unix:/tby sv - Nginx Mailing List - English
I have a configuration that is working but I would like a second( third, fourth...) opinion. what I want to do it protect a location /zot. zot contains static pages /zot/ws is a web socket connection only with a cookie can a person access /zot and /zot/ws if no cookie rewrite to /login login serves a page to login. the reply is back to /login if login is accessed with $args rewite tby sv - Nginx Development
I have been looking for websockets support. I have written a server push back end for nginx using the "keep-alive" module. I have one persistent connection for the server push. this connection is an async client control. then each new "command/request" from the client is a new http connection. I use fcgi, because fcgi also requires a "length" a single connectioby sv - Nginx Mailing List - English
I was looking at the fastcgi, I found out that all fcgi request have a msg_id of 1? What happens when more than 1 fcgi requests comes in and first one is still being handled. how does the fcgi server know the the difference in requests? Usually each request has it own connection, but if keepalive is on the then many request can come in on the same connection. I am use "ab" to testby sv - Nginx Mailing List - English
srcache crashed again. I am sorry that I can not debug it more, tell me where to look and I can do it. I run it the first time, the value is not in cache. so it executes the lua file I the lua file I am setting the cache value to a json string {"skey":"0123456789ABCDEF","pkgid":5} I call it again and it seg faults 18446744073709551615 = -ffffffff GDB print *inby sv - Nginx Development
On 09/26/2011 11:58 AM, Shaun wrote: > I recompiled the code and now I can not get it to fail :-)(, > > Sorry about that, I will keep working on test to get it to fail. > > Linux svvsgo 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC > 2011 x86_64 x86_64 x86_64 GNU/Linux > > I need speed, so C module is the way. And Yes writing a good nginx > module is dificby sv - Nginx Development
I am starting to learn how to write nginx module. I have a few basic questions, these are more reference questions. 1> how do you set/create request variable? 2> how do you read a request variable? 3> can an authorization and a filter be in the same module 4> memcached checks at what phase? I fails does it check again after the cache is loaded. 5> srcache first checks cache thenby sv - Nginx Development
Does the $http_HEADER have custom headers? example X-Auth-Token=0123456789 does $http_x_auth_token is it defined and have a value? _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby sv - Nginx Mailing List - English
I am starting to write a new module that uses a header token. I have searched google for the answer about "how to seach in headers for a name. I want to search for "X-session-token". I am surprised that there is not a library function that just does the search, As I understand it now every module that wants to search for a header writes it own search function? Is there a "lby sv - Nginx Development
I am starting to write a new module that uses a header token. I have searched google for the answer about "how to seach in headers for a name. I want to search for "X-session-token". I am surprised that there is not a library function that just does the search, As I understand it now every module that wants to search for a header writes it own search function? Is there a "lby sv - Nginx Mailing List - English
I have tested is with a persistent connections it ran 100 long lived fastcgi connections, with 100/s fastcgi short requests. seams to work. On 08/25/2011 08:05 AM, Maxim Dounin wrote: > Hello! > > On Wed, Aug 24, 2011 at 01:11:43PM -0400, magicbear wrote: > >> Thanks for your hard work, I have found that if using https backend, it >> won't work, server will direct closeby sv - Nginx Mailing List - English
I have been using Apache but I am studing Nginx now. I like the event driven architecture. It seems well written. I have created a Web App Cloud Framework (buzz word soup, haha)that uses fastcgi server written in C and Python as the scripting language. It supports persistent ( long lived ) connections. I have posted a question to the mailing list, about flushing the downstream FCGI bufferby sv - New Member Introductions