Re: nginx does't serve compressed static .html files. is it a bug?

2015-02-05 Thread Francis Daly
On Thu, Feb 05, 2015 at 10:28:33PM +0200, peter petrov wrote: Hi there, > Francis Daly I did what you suggested but it doesn't work. Access.log says > both times with --compressed or without it "200 162" for the nginx welcome > screen.It is very weird. It works for me: # ls -l html/index.htm

Re: [ANN] OpenResty 1.7.7.2 released

2015-02-05 Thread Yichun Zhang (agentzh)
Hello! On Thu, Feb 5, 2015 at 12:47 AM, Batuhan Göksu wrote: > There are many great new features. > Why "lua" has not been updated > By default, OpenResty uses LuaJIT, which is actively updated upon almost every new OpenResty release. The bundled standard Lua interpreter is only used when y

Re: nginx does't serve compressed static .html files. is it a bug?

2015-02-05 Thread peter petrov
Оригинално писмо От: Francis Daly fran...@daoine.org Относно: Re: nginx dows't serve compressed static .html files. is it a bug? До: nginx@nginx.org Изпратено на: 05.02.2015 00:53 On Wed, Feb 04, 2015 at 11:36:04PM +0200, peter petrov wrote: > In my previous po

Re: Nginx Rewrite

2015-02-05 Thread Francis Daly
On Thu, Feb 05, 2015 at 12:16:27PM -0500, ntamblyn wrote: Hi there, > How can i turn this into a rewrite i have include what i have tried "rewrite" matches a request uri, the same as "location" does. This does not include the query string. > I have tried > > rewrite /test/c_(.*)\?change_lang

Re: Nginx Rewrite

2015-02-05 Thread B.R.
Why did you escape the question mark? --- *B. R.* On Thu, Feb 5, 2015 at 6:16 PM, ntamblyn wrote: > How can i turn this into a rewrite i have include what i have tried > > for example you have www.example.com/test/c_index.shtml > > you click a the change language button and the url changes to >

Nginx Rewrite

2015-02-05 Thread ntamblyn
How can i turn this into a rewrite i have include what i have tried for example you have www.example.com/test/c_index.shtml you click a the change language button and the url changes to www.example/com/test/c_index.shtml?change_lang so i would like to rewrite that to www.example.com/test/e_ind

Re: Debian repository Package list mismatch?

2015-02-05 Thread Patrick Nommensen
Hello, You should use the following in /etc/apt/sources.list if you wish to use the latest (mainline) version of nginx. deb http://nginx.org/packages/mainline/debian/ codename nginx deb-src http://nginx.org/packages/mainline/debian/ codename nginx http://nginx.org/en/linux_packages.html#mainli

Re: Debian repository Package list mismatch?

2015-02-05 Thread Daniël Mostertman
Hello again, With shame on my face I have to admit that I was looking at http://nginx.org/packages/mainline/debian/ and used the stable one instead in the sources.list. My sincerest apologies for bothering you all :) Daniël Daniël Mostertman schreef op 5-2-2015 om 16:29: Hi! We're using De

Debian repository Package list mismatch?

2015-02-05 Thread Daniël Mostertman
Hi! We're using Debian 7.x (Wheezy), and because I rather have the latest version of nginx than the stock or backports version, I decided to add your repository. I grabbed the lines from http://nginx.org/en/linux_packages.html and added them to /etc/apt/sources.list.d/nginx.list as follows:

Re: Slow downloads over SSL

2015-02-05 Thread kyprizel
Make a pcap, check packet loss/mtu/window size. On Wed, Feb 4, 2015 at 8:54 PM, B.R. wrote: > Nothing in the configuration part you provided rings any bell to me on why > this is going on. > I suggest you take a deeper look at the server level, see if there is not > something that might have an

Re: Multiple proxy_pass destinations from a single location block

2015-02-05 Thread Igor Sysoev
On 05 Feb 2015, at 11:26, justink101 wrote: > Thanks Igor. > > What if one of the servers listed in the upstream block should be over https > and the other over http? How is this done using > > upstream proxies { >server foo.mydomain.io; >server bar.mydomain.com; > } > > proxy_pass htt

Re: Nginx as a proxy with Blocking operations

2015-02-05 Thread abhi2528
Well, I intend to use Nginx as a proxy server. In doing so all my traffic will flow through the proxy. I then intend to write a module to do what I intend as the data will then inherently flow via my module. I did a small proof of concept using HaProxy (which is also not an IPS/IDS) and was able t

Re: Nginx as a proxy with Blocking operations

2015-02-05 Thread NitrouZ
I think you need IPS/IDS in front of your nginx server :) Nginx can't capture packets, please read OSI layer. CMIIW On Thursday, February 5, 2015, abhi2528 wrote: > Hi All, > > We have an existing TCP/TLS based server application 'A' in production. > Around 10K users can connect to this applica

Nginx as a proxy with Blocking operations

2015-02-05 Thread abhi2528
Hi All, We have an existing TCP/TLS based server application 'A' in production. Around 10K users can connect to this application. We now have a requirement as follows: 1). Intercept the traffic between Client and A 2). 'Inspect' the packet for a certain logic 3). If the packet matches, call a p

Re: [ANN] OpenResty 1.7.7.2 released

2015-02-05 Thread Batuhan Göksu
​There are many great new features. Why "lua" has not been updated "lua 5.3" output only "lua 5.1" supported the cause ??​ 2015-02-05 0:22 GMT+02:00 Yichun Zhang (agentzh) : > Hi folks! > > I am happy to announce the new formal release, 1.7.7.2, of the OpenResty > bundle: > > http://op

Re: Multiple proxy_pass destinations from a single location block

2015-02-05 Thread justink101
Thanks Igor. What if one of the servers listed in the upstream block should be over https and the other over http? How is this done using upstream proxies { server foo.mydomain.io; server bar.mydomain.com; } proxy_pass https://proxies/api/; Notice the proxy pass defines only a single sc