On Wed, Mar 13, 2013 at 02:19:50PM -0400, AJ Weber wrote:
> OK,
>
> So I'm still working on my caching "issue", but this is a more general
> question, so for the sake of indexing and helping others in the future
> with (hopefully) a response...
>
> How do I use a map to map the lack of a variab
On Wed, Mar 13, 2013 at 10:59:38PM +, Hazrat Shah wrote:
>I am using the Nginx v1.3.14 server proxy. I am sending the Websocket
>HTTP connection request "CONNECT HostName:Port HTTP/1.1" packet to the
>proxy from the client. It responds with an http-alt ack packet. How can
>I
Hello,
I'm trying to count with a Lua-script the concurrent requests to a given
virtual host on the backend to which Nginx relays als reverse proxy.
My current code is somewhat more complex, but I try to reduce it to the
problematic one. Assuming we have a shared storage with sufficient memory
st
On Wednesday 13 March 2013 22:19:50 AJ Weber wrote:
> OK,
>
> So I'm still working on my caching "issue", but this is a more general
> question, so for the sake of indexing and helping others in the future
> with (hopefully) a response...
>
> How do I use a map to map the lack of a variable/heade
I am using the Nginx v1.3.14 server proxy. I am sending the Websocket HTTP
connection request "CONNECT HostName:Port HTTP/1.1" packet to the proxy from
the client. It responds with an http-alt ack packet. How can I configure the
proxy to return the HTTP reply "HTTP/1.1 200"? I also do not se
On 13 March 2013 18:19, AJ Weber wrote:
> OK,
>
> So I'm still working on my caching "issue", but this is a more general
> question, so for the sake of indexing and helping others in the future with
> (hopefully) a response...
>
> How do I use a map to map the lack of a variable/header/cookie (NUL
OK,
So I'm still working on my caching "issue", but this is a more general
question, so for the sake of indexing and helping others in the future
with (hopefully) a response...
How do I use a map to map the lack of a variable/header/cookie (NULL?)
to a value? I can't use "default", because
On 13 March 2013 15:02, AJ Weber wrote:
>
>
> On 3/13/2013 10:40 AM, Jonathan Matthews wrote:
>>
>>
>> It looks to me like
>> http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_no_cache
>> is what you need to use.
>> If the backend is returning a Content-Length header, you could refer
On 3/13/2013 10:40 AM, Jonathan Matthews wrote:
It looks to me like
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_no_cache
is what you need to use.
If the backend is returning a Content-Length header, you could refer
to that. If not, you may have to get creative in assembling
On 13 March 2013 14:15, AJ Weber wrote:
> Is there a way to leave my default caching enabled, but tell nginx to NOT
> cache zero-byte results? If the correct content is available in the cache,
> I want it returned without going to the back end, but in my case (at least),
> a zero-byte result for
I have a case where a user requires authorization to retrieve content.
Ngnix correctly returns the tomcat's 401, and then the user attempts
authentication.
However, if the user fails to authenticate, tomcat returns a 200 but
zero bytes returned. This comes through nginx as a cache-miss,
sta
Hello!
On Wed, Mar 13, 2013 at 09:49:15AM -0400, zuborg wrote:
> Patch helps me too. It should be added into nginx source code base asap )
It's already committed in 1.3.12, and even merged to the stable
branch in 1.2.7. If the patch works for you - it means you are
using outdated nginx.
--
Patch helps me too. It should be added into nginx source code base asap )
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,235764,237297#msg-237297
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
13 matches
Mail list logo