Re: A bit confused...

2015-06-11 Thread Francis Daly
On Fri, Jun 12, 2015 at 01:50:15PM +1200, steve wrote: Hi there, > I'm tryiong to make some sense out of this and am left a bit cold! > What could cause this: Both requests are invalid - "space" may not appear in a url. Encode it as %20 and things will work. nginx happens to try one form of "dw

Re: A bit confused...

2015-06-11 Thread oscaretu .
Hello Can you try something command like the ones at http://unix.stackexchange.com/questions/2182/identifying-files-with-special-characters-in-its-name-in-a-terminal to see if you have special chars in some of the filenames? On Fri, Jun 12, 2015 at 3:50 AM, steve wrote: > I'm tryiong to make

Re: A bit confused...

2015-06-11 Thread steve
Hmm... On 12/06/15 14:31, steve wrote: A bit more into... On 12/06/15 14:15, Miguel Clara wrote: BTW, I test a few more URLS, and all others give 404, but anything with "http://backend.right.bike/images/models/Lapierre/Overvolt\ H***" fails with 400 not that only "Overvolt\ H" and "Overvolt H

Re: A bit confused...

2015-06-11 Thread steve
A bit more into... On 12/06/15 14:15, Miguel Clara wrote: BTW, I test a few more URLS, and all others give 404, but anything with "http://backend.right.bike/images/models/Lapierre/Overvolt\ H***" fails with 400 not that only "Overvolt\ H" and "Overvolt H fails not "Overvolt\ h" or "Overvolt h"

Re: A bit confused...

2015-06-11 Thread Miguel Clara
BTW, I test a few more URLS, and all others give 404, but anything with "http://backend.right.bike/images/models/Lapierre/Overvolt\ H***" fails with 400 not that only "Overvolt\ H" and "Overvolt H fails not "Overvolt\ h" or "Overvolt h" I just have no clue why, maybe something in the config Melh

Re: A bit confused...

2015-06-11 Thread Miguel Clara
On Fri, Jun 12, 2015 at 3:00 AM, steve wrote: > Aargh! > > > On 12/06/15 13:56, Miguel Clara wrote: >> >> Interesting I tried at my side got the same results but it does work like >> this: >> >> curl -I >> "http://backend.right.bike/images/models/Lapierre/Overvolt%20HT.png"; >> HTTP/1.1 200 OK >

Re: A bit confused...

2015-06-11 Thread steve
Aargh! On 12/06/15 13:56, Miguel Clara wrote: Interesting I tried at my side got the same results but it does work like this: curl -I "http://backend.right.bike/images/models/Lapierre/Overvolt%20HT.png"; HTTP/1.1 200 OK Server: nginx/1.9.1 Date: Fri, 12 Jun 2015 01:55:27 GMT Content-Type: ima

Re: A bit confused...

2015-06-11 Thread Miguel Clara
Interesting I tried at my side got the same results but it does work like this: curl -I "http://backend.right.bike/images/models/Lapierre/Overvolt%20HT.png"; HTTP/1.1 200 OK Server: nginx/1.9.1 Date: Fri, 12 Jun 2015 01:55:27 GMT Content-Type: image/png Content-Length: 318335 Last-Modified: Thu,

Re: A bit confused...

2015-06-11 Thread steve
Just a quick addition... I've tried it from this office, which is IPv4, and from IPv6 enabled locations. This makes no difference. On 12/06/15 13:50, steve wrote: I'm tryiong to make some sense out of this and am left a bit cold! What could cause this: ( I've left out any attempt at anonymis

A bit confused...

2015-06-11 Thread steve
I'm tryiong to make some sense out of this and am left a bit cold! What could cause this: ( I've left out any attempt at anonymising in case I hide something ) From the docroot... $ ls -l images/models/Lapierre/Overvolt* -rw-r--r-- 1 right-bike right-bike 342373 Jun 11 20:09 images/models/Lap

Re: auth_basic plain password in html

2015-06-11 Thread Francis Daly
On Thu, Jun 11, 2015 at 11:07:57AM +, de Brouwer Tom (ST-CO/ENG5.1) wrote: Hi there, > I have setup aut_basic on my nginx webserver, whenever I authenticate the > username and password are send as plain text via the html request from my > webbrowser, is there an easy solution for this? HTT

Upcoming NGINX Events

2015-06-11 Thread Sarah Novotny
Hi All! NGINX has lots of upcoming events and we're looking for a variety of talks for them ranging from beginner to advanced – topics on and around NGINX and its use cases - from APIs, to resilient modern web architecture, to microservice implementations, to well won war stories. This is your

答复: 答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
No, I did not set proxy_ssl on. Sorry, mymistake, the log from the backend server is normal, but all of them are 302, not 200. So there are always redirect, why? 10.0.0.2,[11/Jun/2015:14:34:33 +],GET,/signin,HTTP/1.1,302,0,12690,Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML

Re: 答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread huakaibird
No, I did not set proxy_ssl on, is that default on? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259522,259543#msg-259543 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

auth_basic plain password in html

2015-06-11 Thread de Brouwer Tom (ST-CO/ENG5.1)
All, I have setup aut_basic on my nginx webserver, whenever I authenticate the username and password are send as plain text via the html request from my webbrowser, is there an easy solution for this? Or should I switch to the non default nginx_http_auth_digest module? Thanks, Tom __

Re: 答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread Ruslan Ermilov
On Thu, Jun 11, 2015 at 09:03:55AM -, smith wrote: > With info level log enabled. > > Found these: > > 80's log: > 2015/06/11 08:48:18 [info] 12719#0: *449 client 10.0.0.1:1494 connected to > 0.0.0.0:80 > 2015/06/11 08:48:18 [info] 12719#0: *449 proxy 172.31.5.228:17019 connected > to 10.0

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
With info level log enabled. Found these: 80's log: 2015/06/11 08:48:18 [info] 12719#0: *449 client 10.0.0.1:1494 connected to 0.0.0.0:80 2015/06/11 08:48:18 [info] 12719#0: *449 proxy 172.31.5.228:17019 connected to 10.0.0.2:80 2015/06/11 08:48:19 [info] 12719#0: *449 upstream disconnected, b

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
So it's not supported? -邮件原件- 发件人: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] 代表 Roman Arutyunyan 发送时间: 2015年6月11日 8:43 收件人: nginx@nginx.org 主题: Re: nginx plus with ssl on TCP load balance not work Stream proxy has no idea what the underlying protocol is. It cannot change

Re: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread Roman Arutyunyan
Stream proxy has no idea what the underlying protocol is. It cannot change anything in it like http headers etc. On 11 Jun 2015, at 11:34, smith wrote: > When I'm trying http ssl, I found need to set proxy_set_header > X-Forwarded-Proto $scheme; in server block, or it will also encounter > ERR

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
When I'm trying http ssl, I found need to set proxy_set_header X-Forwarded-Proto $scheme; in server block, or it will also encounter ERR_TOO_MANY_REDIRECTS. Is TCP has same kind of setting? -邮件原件- 发件人: smith [mailto:smith@zoom.us] 发送时间: 2015年6月11日 8:28 收件人: nginx@nginx.org 主题: 答复:

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
The 80 is normal, And I tried use http ssl, also works. Don't know Why TCP not work. -邮件原件- 发件人: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] 代表 Roman Arutyunyan 发送时间: 2015年6月11日 8:25 收件人: nginx@nginx.org 主题: Re: nginx plus with ssl on TCP load balance not work What about th

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
The 80 is normal -邮件原件- 发件人: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] 代表 Roman Arutyunyan 发送时间: 2015年6月11日 8:25 收件人: nginx@nginx.org 主题: Re: nginx plus with ssl on TCP load balance not work What about the 80 port of the stream balancer? Does it proxy the connection normal

Re: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread Roman Arutyunyan
What about the 80 port of the stream balancer? Does it proxy the connection normally? PS: no access log is supported in the stream module. Connection information (addresses etc) is logged to error log with the info loglevel. On 11 Jun 2015, at 10:49, smith wrote: > Nginx.conf: > > user nginx;

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
Nginx.conf: user nginx; worker_processes auto; worker_rlimit_nofile 65535; error_log /var/log/nginx/error.log warn; pid/var/run/nginx.pid; events { use epoll; worker_connections 65535; } http { include /etc/nginx/mime.types; default_type application/octet-st

Re: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread Roman Arutyunyan
Hi, Could you provide the full config of the nginx/stream balancer? On 11 Jun 2015, at 09:29, huakaibird wrote: > Hi, > > I’m using nginx plus with ssl on TCP load balance, Configured like the > documentation, but it not work. (All the IP below is not real-ip) > I have web servers behind, I w