Re: Nginx reverse proxy on another web server with redirection

2014-04-14 Thread B.R.
Quick sidenote, not scratching the surface of your problem: I would have posted on ServerFault, not StackOverflow --- *B. R.* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: OT / Re: nginx segfaulting with mod_security

2014-04-14 Thread Robert Paprocki
Hi mex! Thanks for the tip! I've known about naxsi for a while. I'm researching various WAF options that will scale well for my Master's thesis, and mod_security + nginx interested me (my other research is pointing towards using Varnish, for which several WAF solutions have already been somewhat i

OT / Re: nginx segfaulting with mod_security

2014-04-14 Thread mex
hi robert, if you dont depend on mod_security's advanced features like output-filtering'n'stuff you might want to try naxsi https://github.com/nbs-system/naxsi/wiki its stable, its fast, rules are easy to create and understand and it provides a set of basic features for a waf. the community is

Re: nginx segfaulting with mod_security

2014-04-14 Thread Robert Paprocki
I realized that I spoke too soon about gzip shortly after sending this. My apologies for making a silly assumption; I am a sysadmin by trade and not so skilled at developing or troubleshooting complex server software. I've contact mod_security mailing list but haven't heard back from them. Thank yo

Re: Nginx reverse proxy on another web server with redirection

2014-04-14 Thread fijfajfu
I have also added more detailed description with system diagram at: http://stackoverflow.com/questions/23068740/nginx-reverse-proxy-on-another-web-server-with-redirection Thank you! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249291,249292#msg-249292

Nginx reverse proxy on another web server with redirection

2014-04-14 Thread fijfajfu
Hi all, I have the problem with configuring nginx to perform proxy redirection to web server that appends some its local path to redirected address. As a result I get url of my server (where nginx is running) but with path (from another machine) appended. The configuration is: location ~*

$request_uri in rewrite and try_files

2014-04-14 Thread freetg
Hi, When I try to use rewrite to replace try_files, my php application report error. Finally I find $_SERVER["PATH_INFO"] is different between try_files and rewrite. nginx/1.4.4 PHP 5.4.22 try_files: try_files $uri $uri/ /index.php$request_uri; url: http://example.com/a/b/c?d=1 , $_SER

Re: RE: OpenSSL leaks server-Keys / The Heartbleed Bug

2014-04-14 Thread itpp2012
Fyi. if you are running a ssl tunnel like stunnel with openssl 0.9.x, this attack is logged as "SSL3_GET_RECORD:wrong version number" as opposed to no nginx/openssl logging. If you have logging going back 2 years and you are seeing these log entries now, you may be able to detect attacks from befo

Re: auto send email on 50

2014-04-14 Thread Roger Pack
OK thanks for the responses. -- Posted via http://www.ruby-forum.com/. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Problems with PHP authentication imap/smtp proxy

2014-04-14 Thread Shawn Za
Im still not able to call this script. Is there something I need to define in the http { section for php? I have not done that. I tried adding another server { block inside the http block to listen to 127.0.0.1:9000 but still cant call my php script. nginx does not know how to use php. I do hav

Re: auto send email on 50

2014-04-14 Thread spameden
You can use log2mail tool to send email reports. It's very tiny and written in c++, not supported anymore, but still works just fine. 2014-04-14 18:41 GMT+04:00 Maxim Dounin : > Hello! > > On Mon, Apr 14, 2014 at 04:30:48PM +0200, Roger Pack wrote: > > > Hello. It might be nice if nginx include

Re: auto send email on 50

2014-04-14 Thread Maxim Dounin
Hello! On Mon, Apr 14, 2014 at 04:30:48PM +0200, Roger Pack wrote: > Hello. It might be nice if nginx included some type of logging > functionality like...if something [like fastcgi, etc.] returns a 500 > error, it sends off an email message to alert an admin. Something like > that. Your favor

auto send email on 50

2014-04-14 Thread Roger Pack
Hello. It might be nice if nginx included some type of logging functionality like...if something [like fastcgi, etc.] returns a 500 error, it sends off an email message to alert an admin. Something like that. Anyway, thanks for your awesome product. -roger- -- Posted via http://www.ruby-forum.c

Re: Problems with PHP authentication imap/smtp proxy

2014-04-14 Thread Maxim Dounin
Hello! On Sun, Apr 13, 2014 at 03:25:35PM -0400, cybermass wrote: > I managed to write my php auth script but still having problems > authenticating. > Also this is what I see in the logs: > [error] 22014#0: *3234 recv() failed (111: Connection refused) while in http > auth state, client: back.e

Re: nginx imaps auth_http dovecot

2014-04-14 Thread Maxim Dounin
Hello! On Mon, Apr 14, 2014 at 03:37:05AM +0200, Shawn Za wrote: > Does this mean that from the nginx proxy to the backend, the passwords > will fly through the internet wide open if the backend is a remote > machine? Nobody stops you from providing secure network in-between, e.g. with ipsec

Re: the http output chain is empty.

2014-04-14 Thread Maxim Dounin
Hello! On Mon, Apr 14, 2014 at 10:42:43AM +0530, Makailol Charls wrote: > Hello! > > I have been getting few of this error in the Nginx log file. Could anyone > have Idea what could be the reason for this error and how to fix it? > > Nginx version is 1.5.12 . There is a bug somewhere. Some deb

Re: nginx segfaulting with mod_security

2014-04-14 Thread Maxim Dounin
Hello! On Sun, Apr 13, 2014 at 08:42:04PM -0700, Robert Paprocki wrote: > Hi Maxim! > > Thank you for your response, always nice to actually hear back from > someone knowledgeable. Once thing I had noticed while looking at > backtraces (coredumps seem to indicate segfaults occurring in a number

nginx + alternate ssl-libs

2014-04-14 Thread mex
i'm seen the question below on nginx-dev from september last year, http://forum.nginx.org/read.php?29,243031,243031#msg-243031 I've seen some attempts to use polarssl one year ago and would like to restart delevopment in that direction, so i'd like to re-issue this question from Aleksandar Lazi

_GET parameters with question and ampersand

2014-04-14 Thread arnas
Hi, I am wondering how do I solve parameters being passed correctly after switching from apache. http://app.mailerlite2.com/test/test_get/?labas=testarg NOT passing http://app.mailerlite2.com/test/test_get/&labas=testarg PASS # 1 server, proxy passes to internal server #2 server { liste

Re: IMAP: auth_http

2014-04-14 Thread Shawn Za
This dummy auth script has been the ONLY way I can get my imap or smtp proxy working! The problem is that I can only have either imap or smtp. The block below works great, I just put my backend server (remote location) instead of 127.0.0.1, and my Auth-Port is 143. I see that nginx accepts SSL