patch to src/event/ngx_event_openssl.c (nginx 1.6.2)

2015-02-01 Thread 173279834462
nginx-1.6.2 >make [...] src/event/ngx_event_openssl.c:2520:9: error: implicit declaration of function 'RAND_pseudo_bytes' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RAND_pseudo_bytes(iv, 16); ^ 1 error generated. patch: perl -i.bak -0p -e

Re: SPDY: nginx/1.6.2: proxy_pass does not work when https is used

2014-12-16 Thread Valentin V. Bartenev
text/html; charset=UTF-8 date: Tue, 16 Dec 2014 09:59:46 GMT server: nginx/1.6.2 Error 404 (Not Found)!!1 *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180p

Re: SPDY: nginx/1.6.2: proxy_pass does not work when https is used

2014-12-16 Thread Yury Kirpichev
with worker_processes then problem will disappear. Here is output from /usr/sbin/nginx -V nginx version: nginx/1.6.2 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body -

Re: SPDY: nginx/1.6.2: proxy_pass does not work when https is used

2014-12-15 Thread Payam Chychi
On 2014-12-15, 4:18 PM, Valentin V. Bartenev wrote: On Tuesday 16 December 2014 00:05:03 Yury Kirpichev wrote: Hi, I've got a problem when tried to proxy spdy traffic to host via https protocol. My config is simple like that: location /https/test { proxy_set_header X-Real-IP $remote_a

Re: SPDY: nginx/1.6.2: proxy_pass does not work when https is used

2014-12-15 Thread Valentin V. Bartenev
On Tuesday 16 December 2014 00:05:03 Yury Kirpichev wrote: > Hi, > > I've got a problem when tried to proxy spdy traffic to host via https > protocol. > > My config is simple like that: > > > location /https/test { > > proxy_set_header X-Real-IP $remote_addr; > > proxy_set_header Host

SPDY: nginx/1.6.2: proxy_pass does not work when https is used

2014-12-15 Thread Yury Kirpichev
Hi, I've got a problem when tried to proxy spdy traffic to host via https protocol. My config is simple like that: location /https/test { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_pass https://www.something.com/test; } When request is performe

Re: NGINX 1.6.2 compile problem

2014-10-19 Thread Maxim Dounin
Hello! On Sat, Oct 18, 2014 at 02:59:32AM -0400, volga629 wrote: > Hello Everyone, > Trying build nginx 1.6.2 and --pid-path is not honored by build. Doesn't > matter what I change it stays in /run/nginx.pid. > > > > Here buiild output > > http://fpaste.o

NGINX 1.6.2 compile problem

2014-10-17 Thread volga629
Hello Everyone, Trying build nginx 1.6.2 and --pid-path is not honored by build. Doesn't matter what I change it stays in /run/nginx.pid. Here buiild output http://fpaste.org/143079/41361548/ Thank you in advance. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254122,25412

Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-06 Thread Styopa Semenukha
On Monday, October 06, 2014 12:24:35 PM mottycruz wrote: > Thanks for your help Styopa, > > I was able to find modules installed on our current proxy with the following > command, because we have a customize module. > > :~# /usr/local/nginx/sbin/nginx -V > nginx version: nginx/0.7.67 > built b

Re: Re: Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-06 Thread mottycruz
Thanks for your help Styopa, I was able to find modules installed on our current proxy with the following command, because we have a customize module. :~# /usr/local/nginx/sbin/nginx -V nginx version: nginx/0.7.67 built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) TLS SNI support enabled configure

Re: Re: Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-03 Thread Styopa Semenukha
Map and upstream are built by default, unless you removed them manually. You might want to grab pre-built packages from the vendor: http://wiki.nginx.org/Install , or from your OS repository. On Friday, October 03, 2014 12:33:08 PM mottycruz wrote: > Thanks for the post, I am trying to install ma

Re: Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-03 Thread mottycruz
Thanks for the post, I am trying to install map module but I can't figure out how to compile nginx with map module, I did the following: ./configure --with-http_charset_module but get an error "invalid option". I would like to compile Nginx with upstread module as well, please help. Posted at Ng

Re: Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-02 Thread Styopa Semenukha
On Thursday, October 02, 2014 12:14:41 PM mottycruz wrote: > Thank you very much Styopa, I am working on server that was installed by > person no longer in the company. I don't know if Map modules was originally > installed. I am using Ubuntu 10.04.4 TLS. > > here is part of my current configurati

Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-02 Thread mottycruz
Thank you very much Styopa, I am working on server that was installed by person no longer in the company. I don't know if Map modules was originally installed. I am using Ubuntu 10.04.4 TLS. here is part of my current configuration: upstream backend { server alice.fqdn.com:80; } # Note

Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-02 Thread Styopa Semenukha
On Thursday, October 02, 2014 10:51:25 AM mottycruz wrote: > Hello All, > > I am trying to redirect users base on four digits number they provide. For > instance, if they provide a number 4024 they will be redirect to web server > name fly.fqdn.com, if digits are 5025 they will be directed to anot

Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-02 Thread mottycruz
Hello All, I am trying to redirect users base on four digits number they provide. For instance, if they provide a number 4024 they will be redirect to web server name fly.fqdn.com, if digits are 5025 they will be directed to another web server name guide.fqdn.com. if this possible? if so, can som

Re: [nginx-announce] nginx-1.6.2

2014-09-16 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.6.2 for Windows http://goo.gl/ioBvGK (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also

nginx-1.6.2

2014-09-16 Thread Maxim Dounin
Changes with nginx 1.6.2 16 Sep 2014 *) Security: it was possible to reuse SSL sessions in unrelated contexts if a shared SSL session cache or the same TLS session ticket key was used for multiple "server" blocks (CVE