Re: nginx IMAP hooks

2014-02-06 Thread rhklinux
Thanks ! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247241,247270#msg-247270 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Setting a header inside an if block

2014-02-06 Thread justink101
Thanks that worked perfectly, though I must admit, a bit of a round-a-bout solution. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247218,247263#msg-247263 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/ngin

Re: upstream sent too big header while reading response header from upstream

2014-02-06 Thread Maxim Dounin
Hello! On Thu, Feb 06, 2014 at 09:11:31AM -0800, Jeroen Ooms wrote: > On Thu, Feb 6, 2014 at 4:18 AM, Maxim Dounin wrote > > > > Response headers should fit into proxy_buffer_size, see > > http://nginx.org/r/proxy_buffer_size. If they don't, the error > > is reported. > > > In which the "size

Re: upstream sent too big header while reading response header from upstream

2014-02-06 Thread Jeroen Ooms
On Thu, Feb 6, 2014 at 4:18 AM, Maxim Dounin wrote > > Response headers should fit into proxy_buffer_size, see > http://nginx.org/r/proxy_buffer_size. If they don't, the error > is reported. In which the "size" refers to the number of characters that appear up till the blank line that separates

cache-proxy passes garbled fonts + alias problem

2014-02-06 Thread Beeblebrox
Hello, * I am on FreeBSD_11-current_amd64, using nginx/1.5.8 both as intranet server:80 and caching proxy:8080 (squid-like) * I followed this example for the nginx-cache-proxy config file: http://www.goitworld.com/how-to-use-nginx-proxy-cache-replace-squid/ * My edited nginx.conf file: https://docs

Re: Root ignored for "location = /"?

2014-02-06 Thread Mark James
On 07/02/14 02:23, Valentin V. Bartenev wrote: The reason is documented:http://nginx.org/r/index "It should be noted that using an index file causes an internal redirect ..." Thanks very much for this Valentin. I've been stuck on this for a while. The solution was to replace the "location =

Re: Root ignored for "location = /"?

2014-02-06 Thread Valentin V. Bartenev
On Friday 07 February 2014 01:32:44 Mark James wrote: > Hello, > > I want the index.html file in a particular directory to only be served when the domain's root URI is requested. > > Using the config > > server example.com; > index index.html; > location = / { >root path/to/dir; > } > > a

Re: [nginx-announce] nginx-1.5.10

2014-02-06 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.5.10 for Windows http://goo.gl/OCUvut (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also availa

Root ignored for "location = /"?

2014-02-06 Thread Mark James
Hello, I want the index.html file in a particular directory to only be served when the domain's root URI is requested. Using the config server example.com; index index.html; location = / { root path/to/dir; } a request to example.com results in index.html in the Nginx default root "/html"

Re: sudden nginx hang -- restart fails, "98: Address already in use"

2014-02-06 Thread Maxim Dounin
Hello! On Thu, Feb 06, 2014 at 07:23:51AM -0500, dwirth wrote: > Thanks. I am fairly certain (?) at this point that NFS is the culprit. I had > a lot of trouble unmounting one of my NFS directories. Eventually I resorted > to rebooting, at which point it went into a permanent hang until a reboot

Re: nginx IMAP hooks

2014-02-06 Thread Maxim Dounin
Hello! On Thu, Feb 06, 2014 at 05:04:17AM -0500, rhklinux wrote: > Hello people, > I am absolute newbie in the world of nginx. Before I start learning > configuration and module writing I want to ensure that what I am trying to > do can be done using nginx. I want to have a IMAP proxy setup with

Re: sudden nginx hang -- restart fails, "98: Address already in use"

2014-02-06 Thread dwirth
Thanks. I am fairly certain (?) at this point that NFS is the culprit. I had a lot of trouble unmounting one of my NFS directories. Eventually I resorted to rebooting, at which point it went into a permanent hang until a reboot was forced via hypervisor. Is this particular situation, where NFS cau

Re: NginxHttpRewriteModule compiled sequence

2014-02-06 Thread Maxim Dounin
Hello! On Thu, Feb 06, 2014 at 01:48:36PM +0530, Ajay k wrote: > Is there a way to print all the compiled sequences of a rewrite module as > documented in > > http://wiki.nginx.org/NginxHttpRewriteModule No. -- Maxim Dounin http://nginx.org/ ___ ng

Re: upstream sent too big header while reading response header from upstream

2014-02-06 Thread Maxim Dounin
Hello! On Wed, Feb 05, 2014 at 03:48:50PM -0800, Jeroen Ooms wrote: > After I added some CORS headers to my API, one of the users of my > nginx-based system complained about occasional errors with: > > upstream sent too big header while reading response header from upstream > > He also reported

Re: sudden nginx hang -- restart fails, "98: Address already in use"

2014-02-06 Thread Maxim Dounin
Hello! On Wed, Feb 05, 2014 at 01:53:14PM -0500, dwirth wrote: > Hello, all. > > About an hour ago, out of the blue, my server stopped responding to webpage > requests. We are using nginx + php-fpm on RHEL6. > > # service nginx status > nginx (pid 31600) is running... > > # service nginx rest

nginx IMAP hooks

2014-02-06 Thread rhklinux
Hello people, I am absolute newbie in the world of nginx. Before I start learning configuration and module writing I want to ensure that what I am trying to do can be done using nginx. I want to have a IMAP proxy setup with a module (written by me) that scans email data for some specific content. A

Re: Setting a header inside an if block

2014-02-06 Thread Ruslan Ermilov
On Wed, Feb 05, 2014 at 05:12:55PM -0500, justink101 wrote: > I don't have the auth_request module? All I need to do, is set the > WWW-Authenticate header. So you only want to ensure that the basic authentication was attempted, but don't want to check the credentials on the nginx side? Here's how

NginxHttpRewriteModule compiled sequence

2014-02-06 Thread Ajay k
Hi , Is there a way to print all the compiled sequences of a rewrite module as documented in http://wiki.nginx.org/NginxHttpRewriteModule This interpreter is a simple stack virtual machine. For example, the directive: location /download/ {