Re: nginx rewrites $request_method on error

2014-05-15 Thread kay
Don't you think this is a bug? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249754,250144#msg-250144 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Serving wordpress from subdomain

2014-05-15 Thread Alan Chandler
On 16/05/14 03:38, adambenayoun wrote: My setup is nginx + php-fpm. I am running a web application on domain.com and I am serving a wordpress configuration from domain.com/blog. The problem is that the web app is served from /var/www/domain/html/http and wordpress is located outside of the root

SSL Authentication: $ssl_client_verify

2014-05-15 Thread Dustin Oprea
I have the following server configuration for client-authentication: ssl on; ssl_certificate /.../certificate.pem; ssl_certificate_key /.../private.pem; ssl_client_certificate /.../ca_cert.pem; ssl_verify_client on; ssl_verify_depth 1; It looks like I get a "Bad Reque

Serving wordpress from subdomain

2014-05-15 Thread adambenayoun
My setup is nginx + php-fpm. I am running a web application on domain.com and I am serving a wordpress configuration from domain.com/blog. The problem is that the web app is served from /var/www/domain/html/http and wordpress is located outside of the root directory: /var/www/domain/html/blog How

Re: Directly redirecting prefix location to named one

2014-05-15 Thread Lord Nynex
http://wiki.nginx.org/HttpEchoModule#echo_exec I use this model in some parts of my configs. I, however, use openresty and I'm not clear if there are any functionality differences between them. On Wed, May 14, 2014 at 5:58 PM, B.R. wrote: > I am considering the following locations: > > locatio

Re: perl module for nginx

2014-05-15 Thread Lord Nynex
I'm a bit pressed for time but want to throw out a few incomplete thoughts on this. You will have a very difficult time doing IPC between worker processes unless you do IPC over a unix domain socket (and even then it sorta sucks). IMHO this is sub-optimal as this module has the ability to block th

Re: The patch of Nginx SSL: PEM pass phrase problem

2014-05-15 Thread Maxim Dounin
Hello! On Thu, May 15, 2014 at 03:59:54PM -0400, pbrunnen wrote: > Has this patch still not been considered for production?? This is an > important component for key security... > How can we vote on such requests? http://mailman.nginx.org/pipermail/nginx/2014-April/043281.html -- Maxim Dounin

Re: invalid URL prefix errors - auth_request with proxy pass to https

2014-05-15 Thread Maxim Dounin
Hello! On Thu, May 15, 2014 at 05:01:13PM -0400, Aaron Gooch wrote: > I want to authorize requests using a remote server that is using ssl. When > I make requests with https I get nginx errors but when I use http it works. > Now that I am writing this I'm thinking the issue is that the site isn't

invalid URL prefix errors - auth_request with proxy pass to https

2014-05-15 Thread Aaron Gooch
I want to authorize requests using a remote server that is using ssl. When I make requests with https I get nginx errors but when I use http it works. Now that I am writing this I'm thinking the issue is that the site isn't using ssl so that could cause proxy pass fails. Thanks in advance! Aaron

Re: embedded perl for nginx official release ?

2014-05-15 Thread Aleksandar Lazic
Hi. Am 14-05-2014 18:29, schrieb Maxim Dounin: Hello! [snipp] An attempt of Alexandr Gomoliako to add various features to the embedded perl module had major problems from our (nginx team) point of view, see the thread linked by Valentin. Instead of trying to understand and fix the problems

Re: The patch of Nginx SSL: PEM pass phrase problem

2014-05-15 Thread pbrunnen
Has this patch still not been considered for production?? This is an important component for key security... How can we vote on such requests? Thanks! -Cheers, Peter. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,214641,250131#msg-250131

Re: nginx rewrites $request_method on error

2014-05-15 Thread Yichun Zhang (agentzh)
Hello! On Wed, May 14, 2014 at 11:19 PM, kay wrote: > http { > error_page 405 /error.html; > error_page 400 /error.html; > error_page 403 /error.html; > Okay, I can reproduce your request hang on my side now and I see what is going on here. Basically the 405 error is thro

Re: RE: Mail proxy with SNI

2014-05-15 Thread Maxim Dounin
Hello! On Thu, May 15, 2014 at 11:23:19AM -0400, salsaj wrote: > Is there any news on this? I would be interested to know if there are plans > to include this in nginx? As of now, there are no plans. -- Maxim Dounin http://nginx.org/ ___ nginx maili

Unable to cache long cache url

2014-05-15 Thread samgujrat1984
Hello Every One, I am trying to cache a long string query url with proxy_cache_key. I am not sure where I am doing wrong. I tried different proxy_cache_key patterns. Not sure where I am doing wrong. If some one can suggest me please http://x.x.x.x/uri/splash?TF=100%25&US=A&AR=D&TD=%2450&BR=T&T

Re: How does the Proxy Cache Key Lookup actually happen?

2014-05-15 Thread samgujrat1984
Hi, I am also trying to cache a url have this query but still no luck any suggestion http://x.x.x.x/aaa/splashTF=100%25&US=A&AR=D&TD=%2450&BR=T&TS=12515f542140&OR=%2410%2F100MB&DN=BAQGBgEEBwQAAw%3D%3D&ET=TD&BE=1332d9a&BN=CS&AL=2000 I tired these three different proxy_cache_key , I am not sure

Re: RE: Mail proxy with SNI

2014-05-15 Thread salsaj
Is there any news on this? I would be interested to know if there are plans to include this in nginx? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237967,250113#msg-250113 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mail

Re: Unexpected SSL Behavior with Virtual Hosts

2014-05-15 Thread Igor Sysoev
On 15 May 2014, at 04:01, SAH62 wrote: > Sorry for posting this twice. I posted it in the "How to" forum last week, > there haven't been any replies, so I thought I'd try again. > > I'm using nginx for multiple virtual hosts on the same physical server. The > issue I'm having is that a browser r

Re: Return JSON for 404 error instead of html

2014-05-15 Thread Francis Daly
On Wed, May 14, 2014 at 06:38:45PM -0400, justink101 wrote: Hi there, > If I try and > fetch a header that I know is being returned from the proxy it is > undefined. > > location @four_o_four { > internal; > more_set_headers "X-Host: $sent_http_x_host"; What value do you think $sent_htt