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

2015-09-01 Thread log
Well, unfortunately this is not working... http://example.com/style.css?ver=4.3 http://example.com/jquery-migrate.min.js?ver=1.2.1 biazus Wrote: --- > Please try to remove $ in the end of the expression: > > something like this: > > location

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

2015-09-01 Thread log
Thank you, Biazus! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261338,261373#msg-261373 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx v1.8.0 / redirects

2015-09-01 Thread fsantiago
thanks. worked like a charm! On 2015-09-01 17:16, Francis Daly wrote: On Tue, Sep 01, 2015 at 04:41:20PM -0400, fsanti...@deviltracks.net wrote: Hi there, 1.> redirect > www. a.) if www is already present, skip to step 2 2.> redirect http://www. request > https://.. http://ng

Re: Redirect on specific threshold !!

2015-09-01 Thread Francis Daly
On Sat, Aug 29, 2015 at 04:57:19PM +0500, shahzaib shahzaib wrote: Hi there, > Sorry got back to this thread after long time. First of all, thanks to > all for suggestions. Alright, i have also checked with rate_limit module, > should this work as well or it should be only limit_conn (to parse

Re: nginx v1.8.0 / redirects

2015-09-01 Thread Francis Daly
On Tue, Sep 01, 2015 at 04:41:20PM -0400, fsanti...@deviltracks.net wrote: Hi there, > 1.> redirect > www. > a.) if www is already present, skip to step 2 > > 2.> redirect http://www. request > https://.. http://nginx.org/en/docs/http/server_names.html Use two server{} blocks. On

nginx v1.8.0 / redirects

2015-09-01 Thread fsantiago
How do I best: 1.> redirect > www. a.) if www is already present, skip to step 2 2.> redirect http://www. request > https://.. ??? Thanks. - Fabian S. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/

Re: Create a single config for multiple Apache virtual hosts.

2015-09-01 Thread Francis Daly
On Wed, Aug 26, 2015 at 06:48:18AM -0400, YemSalat wrote: Hi there, > I am trying to run nginx as reverse proxy for Apache, running multiple > virtual hosts (domains) on the same ip. > > I wanted to know if it is possible to have a single nginx config, that would > pass the correct url/hostname/

dynamically rate_limit ?

2015-09-01 Thread reddwarf
Hi folks, I'm after a way to dynamically adjust bandwidth in nginx. Current vhost setup is: maximum connections 10 max connection per client ip = 2 maximum rate per connection = 8Mbit Ideally, 5 clients x 2 connections x 8Mbit rate = 80 Mbit = 10 clients x 1 connection x 8Mbit rate What I would

Parsing HTTP Response

2015-09-01 Thread nginxsantos
I have been using Tengine's health check and it does not support parsing the health check response (like what commercial Nginx provides). Is there any other third party module which I can use to parse the http health check response. Any help on this would be appreciated. Posted at Nginx Forum: ht