proxy_read_timeout for an apache location?

2013-03-07 Thread Grant
Can I set proxy_read_timeout for only a particular location which is passed to apache? - Grant ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx for images (apache for pages)

2013-03-07 Thread Grant
>>> I'm serving images and dynamic .html pages via apache on port 80. I'd >>> like to have nginx to serve the images. How can this be done since >>> both apache and nginx need to serve requests on port 80? >>> >>> - Grant >>> >> Set apache up as a proxy server for dynamic html behind the nginx >>

Re: build from source pointing to installed libs (e.g. pcre)

2013-03-07 Thread anthony kerz
installing the related 'dev' packages was the ticket: - libpcre3-dev - libssl-dev - zlib1g-dev then acquiring source and static linking can be avoided... thanks @edho! On Thu, Mar 7, 2013 at 10:04 AM, Edho Arief wrote: > On Thu, Mar 7, 2013 at 10:11 PM, anthony kerz > wrote: > > hi, > > > >

IMAP: auth_http

2013-03-07 Thread Grant
nginx seems to require being pointed to an HTTP server for imap authentication. Here's the protocol spec: http://wiki.nginx.org/MailCoreModule#Authentication Is the idea to program this server yourself or does a server like this already exist? - Grant __

Issue with HttpAuthDigestModule

2013-03-07 Thread redleaderuk
Hello Nginx people! I hope you can help me. I'm having an infuriating problem with auth digest via the HttpAuthDigestModule. The first site I added to Nginx used the same htdigest password file as my Apache webserver (on the same box) uses. This works fine. However, I added a second website th

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

2013-03-07 Thread Joseph O.
OK, so I've gone through the documentation on the Nginx wiki, and I still only have a minimal grasp on how to configure the it to serve Spree via Unicorn. Things are now back where they started (with a 502 error), but I am making some progress, however, in that the server now points to the cust

Re: Kindly help me convert this htaccess to nginx directives?

2013-03-07 Thread Jonathan Matthews
Why don't you show us what you've tried; what hasn't worked; and where you got stuck? That way, *you* get to learn about nginx, and *we* don't waste our time a) repeating things you've already managed to do and b) doing your job for you! Cheers, Jonathan -- Jonathan Matthews // Oxford, London, U

imap: invalid header in response while in http auth state

2013-03-07 Thread Grant
I'm using imapproxy and trying to switch to nginx. courier is listening on port 143. mail { auth_http localhost:143; proxy on; server { listen 144; protocol imap; } } I get: auth http server 127.0.0.1:143 sent invalid header in res

Re: nginx for images (apache for pages)

2013-03-07 Thread Grant
>> I'm serving images and dynamic .html pages via apache on port 80. I'd >> like to have nginx to serve the images. How can this be done since >> both apache and nginx need to serve requests on port 80? >> >> - Grant >> > Set apache up as a proxy server for dynamic html behind the nginx > server.

Re: nginx for images (apache for pages)

2013-03-07 Thread Steve Holdoway
On Thu, 2013-03-07 at 12:49 -0800, Grant wrote: > I'm serving images and dynamic .html pages via apache on port 80. I'd > like to have nginx to serve the images. How can this be done since > both apache and nginx need to serve requests on port 80? > > - Grant > Set apache up as a proxy server f

nginx for images (apache for pages)

2013-03-07 Thread Grant
I'm serving images and dynamic .html pages via apache on port 80. I'd like to have nginx to serve the images. How can this be done since both apache and nginx need to serve requests on port 80? - Grant ___ nginx mailing list nginx@nginx.org http://mai

Kindly help me convert this htaccess to nginx directives?

2013-03-07 Thread ubunifu
ErrorDocument 404 / ErrorDocument 500 / Options +FollowSymlinks RewriteEngine on RewriteBase / SecFilterEngine Off SecFilterScanPOST Off RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^([^\.\/\-]+)$ $1.php [L] RewriteRule ^videos/([^\.\/]+)$ /video-file.php

Re: nginx/KQUEUE+SPDY breaks proxy_ignore_client_abort

2013-03-07 Thread Phil Pennock
On 2013-03-05 at 19:33 +0400, Valentin V. Bartenev wrote: > Done. > > http://nginx.org/patches/spdy/patch.spdy-66_1.3.14.txt Thanks; I deployed this a day and a half ago; I could no longer trigger the conneciton drops from another box on the same network, where I could do so fairly reliably befor

Re: Is it possible that nginx will not buffer the client body?

2013-03-07 Thread Pasi Kärkkäinen
On Thu, Mar 07, 2013 at 12:25:43PM -0500, double wrote: > > I keep getting the "upstream sent invalid header while reading response > header from upstream" > > error when using the no_buffer patch.. > > The patch does not work for you? > Thanks > Markus > Yep, the patch doesn't work for me. --

Re: Is it possible that nginx will not buffer the client body?

2013-03-07 Thread double
> I keep getting the "upstream sent invalid header while reading response header from upstream" > error when using the no_buffer patch.. The patch does not work for you? Thanks Markus Posted at Nginx Forum: http://forum.nginx.org/read.php?2,234926,237090#msg-237090 _

Re: 'Primary' domain in server block?

2013-03-07 Thread Francis Daly
On Thu, Mar 07, 2013 at 09:30:01AM +, Tom Barrett wrote: Hi there, > I'm doing some work with PayPal integration. How does nginx talk to your PayPal integration system? proxy_pass, fastcgi_pass, something else? > The work is being done in under 'dev01.devsite.co.uk' domain. However, for >

Re: Need help to convert .htaccess to nginx rules

2013-03-07 Thread onel0ve
ok CAn you just tell how to exclude a directory from nginx rules ? . I want to disable mod rewrite for one sub folder . Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236960,237083#msg-237083 ___ nginx mailing list nginx@nginx.org http://mail

Re: build from source pointing to installed libs (e.g. pcre)

2013-03-07 Thread Anatoly Mikhailov
On Mar 7, 2013, at 3:04 PM, Edho Arief wrote: > On Thu, Mar 7, 2013 at 10:11 PM, anthony kerz wrote: >> hi, >> >> i'm trying to build from source on an ubuntu system which has libpcre3 >> installed: >> >> tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre >> ii libpcre3:i386 1:8.30-5u

Re: build from source pointing to installed libs (e.g. pcre)

2013-03-07 Thread Edho Arief
On Thu, Mar 7, 2013 at 10:11 PM, anthony kerz wrote: > hi, > > i'm trying to build from source on an ubuntu system which has libpcre3 > installed: > > tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre > ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Regular Expression > Library -

Re: I/O error on uploading video upto 4mb

2013-03-07 Thread shahzaib shahzaib
The issue has been solved, it was monit tool which was creating issues. Thanks :) Best Regards. Shahzaib On Thu, Mar 7, 2013 at 5:32 PM, shahzaib shahzaib wrote: > Hello, > >We recentyl changed our ip of the server to upgrade port to 2Gbps > but after upgrading port, we are unable to up

Re: Cache keeps growing despite Max_size limit

2013-03-07 Thread jan5134
Thanks for that quick update Piotr. Will start with the testing on a new server that i'll set up and let you know if there is anything else. Thanks Jan Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236987,237065#msg-237065 ___ nginx mailing

Re: Problem request_timeout not working with proxy_next_upstream on proxy_connect_timeout but proxy_read_timeout

2013-03-07 Thread yvlasov
Good idea but we have to keep in mind it should depend on location context. THX Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236982,237064#msg-237064 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: shibboleth and authorizer mode

2013-03-07 Thread athukral
Hi, I need to implement shebboleth SP with nginx webserver but got to know that nginx doesn't support autorizer mode. I saw that the above post is dated very old. I would like to check whether this is still the case or has there been any fix provided from nginx for this ? Is there any way this ca

Re: Cache keeps growing despite Max_size limit

2013-03-07 Thread Piotr Sikora
Hey Jan, Any update on the module in the near future that might fix this issue? Latest release shouldn't have this problem: http://labs.frickle.com/files/ngx_slowfs_cache-1.10.tar.gz Best regards, Piotr Sikora < piotr.sik...@frickle.com > ___ nginx

[ANNOUNCE] ngx_slowfs_cache-1.10

2013-03-07 Thread Piotr Sikora
Version 1.10 is now available at: http://labs.frickle.com/nginx_ngx_slowfs_cache/ GitHub repository is available at: http://github.com/FRiCKLE/ngx_slowfs_cache/ Changes: 2013-03-07VERSION 1.10 * Fix compatibility with nginx-1.1.12+. Due to the changes in cache index usage accounting

build from source pointing to installed libs (e.g. pcre)

2013-03-07 Thread anthony kerz
hi, i'm trying to build from source on an ubuntu system which has libpcre3 installed: tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Regular Expression Library - runtime files but i can't for the life of me get the configure scr

I/O error on uploading video upto 4mb

2013-03-07 Thread shahzaib shahzaib
Hello, We recentyl changed our ip of the server to upgrade port to 2Gbps but after upgrading port, we are unable to upload .flv video upto 4mb. Everything was working fine before the up-gradation. Following is the nginx.conf file. Please i need a quick help :- user nginx; worker_processe

'Primary' domain in server block?

2013-03-07 Thread Tom Barrett
Hi I'm doing some work with PayPal integration. My server block looks like this: server { server_name dev01.localmap.net dev01.devsite.co.uk; .. } The work is being done in under 'dev01.devsite.co.uk' domain. However, for link backs from PayPal, it is working out that it should be ' dev01.l

Re: Want to access UNIX environment variable

2013-03-07 Thread E. Westbrook
Posting a bit late to this thread, but thought I'd contribute. Having found no better way myself, the way I "import" environment variables into my nginx configurations is as follows. At top config level: env MYVAR; At http level: perl_set $myvar 'sub { return $ENV{"MYVAR"}; }'; The

Re: Problem configuring Nginx to host SpreeCommerce - 502 error

2013-03-07 Thread mex
Joseph O. Wrote: --- ok, first make sure your railsapp is loading as expected and working w/out nginx in front; you can check it from that machine using w3m/lynx or telnet. if this works we'll check the nginx-part. > *sigh* Clearly I am missing