Question about the url rewrite before pass

2016-09-21 Thread Bill Yuan
​Hello, i am looking for a proxy which can "bounce" the request, which is not a classic proxy. I want it works in this way. e.g. a proxy is running a 192.168.1.1 and when i want to open www.yahoo.com, i just need call http://192.168.1.1/www.yahoo.com the proxy can pickup the the host "www.yahoo.c

Re: access_log format $remote_user anonymous question

2016-09-21 Thread itpp2012
Its just an attempt to gain access, ignore it, we get 1000's a day. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269734,269741#msg-269741 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: access_log format $remote_user anonymous question

2016-09-21 Thread c0nw0nk
Thanks for the information so based of what that resource says and from what I understand surely that field should only say "anonymous" or "username" if on those files / folders in my Nginx config I use "auth_basic" ? http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html The fact they are

Re: access_log format $remote_user anonymous question

2016-09-21 Thread itpp2012
http://nginx.org/en/docs/http/ngx_http_core_module.html#variables $remote_user user name supplied with the Basic authentication Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269734,269738#msg-269738 ___ nginx mailing list nginx@nginx.o

Re: Start nginx worker process with same user as master process

2016-09-21 Thread steve
Hi, On 09/21/2016 05:51 PM, Sushma wrote: Thanks for the details. I have explicitly changed permissions for directories as required. But the problem I am facing here is nginx reload fails due to permission denied for proxy_temp folder. I had explicitly changed permissions for this folder so that

access_log format $remote_user anonymous question

2016-09-21 Thread c0nw0nk
So in my access logs all my other logs the $remote_user is empty. But for only this one single IP that keeps making requests the $remote_user has a value. CF-Real-IP: 176.57.129.88 - CF-Server: 10.108.22.151 - anonymous [21/Sep/2016:18:54:52 +0100] "GET /media/files/29/96/2b/701f56b345ce53119264

Will nginx be relinked to pick up openssl-1.0.2i?

2016-09-21 Thread Tim
Hi all, This may not be the right list but do you know if the Windows nginx binaries will be relinked to pick up the new openssl-1.0.2 which will be released tomorrow (Sept 22)? Tim ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailm

Re: Transmission remote GUI proxy_protocol broken header

2016-09-21 Thread Francis Daly
On Wed, Sep 21, 2016 at 04:05:22AM -0400, adrhc wrote: > Hi, the log come from nginx error log. I simply start the Transmission > remote GUI and I get only this in error log: This looks to me that the thing that is writing to nginx, is not writing what nginx expects to read. What is the thing wri

Re: listen proxy_protocol and rewrite redirect scheme

2016-09-21 Thread Francis Daly
On Wed, Sep 21, 2016 at 03:25:04AM -0400, adrhc wrote: Hi there, > Indeed the solution might look strange but it works (test it with e.g. https > or http ://adrhc.go.ro/ffp). It is good that it works. The http redirect there does not include the port; the https redirect does include the port, a

Re: Start nginx worker process with same user as master process

2016-09-21 Thread Francis Daly
On Wed, Sep 21, 2016 at 01:51:18AM -0400, Sushma wrote: Hi there, > I have explicitly changed permissions for directories as required. > But the problem I am facing here is nginx reload fails due to permission > denied for proxy_temp folder. > I had explicitly changed permissions for this folder

nginx reverse proxy causing TCP queuing spikes

2016-09-21 Thread Grant
I've been struggling with http response time slowdowns and corresponding spikes in my TCP Queuing graph in munin. I'm using nginx as a reverse proxy to apache which then hands off to my backend, and I think the proxy_read_timeout line in my nginx config is at least contributing to the issue. Here

Re: What is "seconds with milliseconds resolution"

2016-09-21 Thread Mark McDonnell
Thanks Santiago, that actually makes perfect sense. Think I just needed the words read back to me in a different order or something lol ¯\_(ツ)_/¯ On Wed, Sep 21, 2016 at 11:39 AM, Santiago Vila wrote: > On Wed, Sep 21, 2016 at 11:19:43AM +0100, Mark McDonnell wrote: > > > I'm not sure I really

Re: What is "seconds with milliseconds resolution"

2016-09-21 Thread Santiago Vila
On Wed, Sep 21, 2016 at 11:19:43AM +0100, Mark McDonnell wrote: > I'm not sure I really understand the `msec` embedded variable. > > I'm getting the value back as `1474452771.178` That would be the number of seconds since the "epoch" (1970-01-01 00:00 UTC), similar to "date +%s" but more accurat

What is "seconds with milliseconds resolution"

2016-09-21 Thread Mark McDonnell
Hello, I'm not sure I really understand the `msec` embedded variable. I'm getting the value back as `1474452771.178` It's described as "seconds with milliseconds resolution", but I'm not sure what that really means (maths isn't a strong skill for me). How do I convert the number into seconds? S

Re: ssl handshake fail when proxy between two tomcat with mutual authentication

2016-09-21 Thread bhagt
Hi all, I have configured nginx to do mutual authentication to a loadbalancer (ssl-offloading) which sends the http traffic to a webserver with virtual hosts. Keep getting the following error: SSL_do_handshake() failed (SSL: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failu

Re: Transmission remote GUI proxy_protocol broken header

2016-09-21 Thread adrhc
Hi, the log come from nginx error log. I simply start the Transmission remote GUI and I get only this in error log: 2016/09/21 10:32:13 [error] 3909#0: *327 broken header: "> :  X,u \kc ; J=ޛXfoVr_<0 , ( $  k j i h 9 8 7 6 2 . * &   = 5 / + ' # 

Re: listen proxy_protocol and rewrite redirect scheme

2016-09-21 Thread adrhc
Indeed the solution might look strange but it works (test it with e.g. https or http ://adrhc.go.ro/ffp). Would be nicer if would exists a variable like let's say $override_ssl which to force nginx consider it run a ssl request with all the consequences. Again I thank you for your support. Posted