[ANN] Nginx-Clojure v0.4.2

2015-08-31 Thread xfeep
Nginx-Clojure 0.4.2 (2015-08-31) 1. New Feature: Support Sente (issue #87, see this PR (https://github.com/ptaoussanis/sente/pull/160)) ) 2. New Feature: Per-message Compression Extensions (PMCEs) for WebSocket (issue #88) 3. New Feature: Add add-aggregated-listener! to makes handling small but fr

Re: [Announcement] New book about Nginx

2015-08-31 Thread Igal @ Lucee.org
+1 (intentionally top-posted) I'd like to take this opportunity to thank the nginx team for all of their time and hard work that they've put into their product. I, for one, completely understand that it's impossible to pay the bills with FOSS exclusively, and I welcome the occasional introductio

Re: How to cache js/css request containing a question mark?

2015-08-31 Thread biazus
Please try to remove $ in the end of the expression: something like this: location ~ .*\.(js|css) { expires 7d; } Also, make sure you are using args in the cache key: proxy_cache_key "$host$uri$is_args$args"; Regards, Biazus Posted at Nginx Forum: http://forum.nginx.org/read.php?2,26

How to cache js/css request containing a question mark?

2015-08-31 Thread log
Following nginx configuration in a server block can cache js and css files with "js" or "css" as the end of the url. location ~ .*\.(js|css)?$ { expires 7d; } But it can't cache request such as: http: //example.com/jquery.js?ver=1.11.3&build=1 or http: /

Re: DocumentRoot should end up on specific file !

2015-08-31 Thread shahzaib shahzaib
Hi, THanks, looking into it. Regards. Shahzaib On Mon, Aug 31, 2015 at 7:33 PM, Dewangga Bachrul Alam < dewangg...@xtremenitro.org> wrote: > Hello! > > On 08/31/2015 09:29 PM, shahzaib shahzaib wrote: > > Hi, > > > > We want nginx vhost to access the file audo_portal.php without > > specify

Re: DocumentRoot should end up on specific file !

2015-08-31 Thread Dewangga Bachrul Alam
Hello! On 08/31/2015 09:29 PM, shahzaib shahzaib wrote: > Hi, > > We want nginx vhost to access the file audo_portal.php without > specifying it,i.e instead of using > URL http://domain.com/audio_portal.php , can we access it with > http://domain.com ? So it'll directly access audio_portal.php

DocumentRoot should end up on specific file !

2015-08-31 Thread shahzaib shahzaib
Hi, We want nginx vhost to access the file audo_portal.php without specifying it,i.e instead of using URL http://domain.com/audio_portal.php , can we access it with http://domain.com ? So it'll directly access audio_portal.php just like index.php ? Regards. Shahzaib ___

Implementing proxy_cache_lock when updating items

2015-08-31 Thread footplus
Hello, I am currently implementing a caching proxy with many short-lived items, expiring at a specific date (Expires header set at an absolute time between 10 and 30 seconds in the future by the origin). For various reasons, my cache is multi-level (edge, intermediate 2, intermediate 1, origin) a