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

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

Re: Подменить Status code

2016-09-21 Thread jtiq
Maxim Dounin Wrote: --- > Hello! > > On Wed, Sep 21, 2016 at 03:05:33PM -0400, jtiq wrote: > > > Maxim Dounin Wrote: > > --- > > > Hello! > > > > > > On Wed, Sep 21, 2016 at 03:53:46AM -0400,

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

Re: Подменить Status code

2016-09-21 Thread Maxim Dounin
Hello! On Wed, Sep 21, 2016 at 03:05:33PM -0400, jtiq wrote: > Maxim Dounin Wrote: > --- > > Hello! > > > > On Wed, Sep 21, 2016 at 03:53:46AM -0400, jtiq wrote: > > > > > вообщем надо, чтобы не было 206 кода, но были кусочки > > > на главном

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

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

Re: Подменить Status code

2016-09-21 Thread jtiq
Maxim Dounin Wrote: --- > Hello! > > On Wed, Sep 21, 2016 at 03:53:46AM -0400, jtiq wrote: > > > вообщем надо, чтобы не было 206 кода, но были кусочки > > на главном сервере nginx диапазон байтов принимает через аргумент > > ($arg_range), а на

[PATCH] - flastmod SSI command

2016-09-21 Thread Rastislav Stanik
Hi. I'm new here and I subscribed because recently I wanted to switch some little personal web server from apache to nginx and found out that "flastmod" SSI command is not supported by nginx. This command is supported by Apache

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

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

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,

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.

Re: Подменить Status code

2016-09-21 Thread Maxim Dounin
Hello! On Wed, Sep 21, 2016 at 03:53:46AM -0400, jtiq wrote: > вообщем надо, чтобы не было 206 кода, но были кусочки > на главном сервере nginx диапазон байтов принимает через аргумент > ($arg_range), а на сервер отдачи передаётся с помощью заголовков > > proxy_set_header Accept-Ranges "bytes";

Re: Подменить Status code

2016-09-21 Thread Илья Шипицин
покажите конфиг полностью ? 21 сентября 2016 г., 16:56 пользователь jtiq написал: > Илья Шипицин Wrote: > --- > > location / { > > return 200; > > } > > > > 21 сентября 2016 г., 1:32 пользователь jtiq > >

Re: Подменить Status code

2016-09-21 Thread jtiq
Илья Шипицин Wrote: --- > location / { > return 200; > } > > 21 сентября 2016 г., 1:32 пользователь jtiq > > написал: > > > Илья Шипицин Wrote: > > --- > > >

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

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

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?

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

Re: Подменить Status code

2016-09-21 Thread Илья Шипицин
location / { return 200; } 21 сентября 2016 г., 1:32 пользователь jtiq написал: > Илья Шипицин Wrote: > --- > > сервер отдает 206, потому что сервер сказал Accept-Ranges, чем клиент > > воспользовался. > > > >

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: Nginx не отвечает на запросы

2016-09-21 Thread Mikanoshi
Maxim Dounin Wrote: --- > Всмысле - как и ранее, после ручного массажирования зависшего > процесса? > > Попробуйте ещё выключить reset_timedout_connections, возможно > умудрились сломать SO_LINGER. Судя по стеку и каналу ожидания - > ждёт

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

Re: 403 Forbidden

2016-09-21 Thread misha_shar53
Иван, большое спасибо. Наконец понял. Извини за тупость. То что это не к nginx я догадался. Просто думал что кто нибудь еще с этой проблемой сталкивался. С уважением Михаил. Posted at Nginx Forum: https://forum.nginx.org/read.php?21,119063,269712#msg-269712