Re: proxy_buffering off disable cache ?

2017-03-17 Thread Nelson Marcos
Thanks \o/ Um abraço, NM 2017-03-17 14:46 GMT-03:00 Maxim Dounin : > Hello! > > On Fri, Mar 17, 2017 at 02:21:55PM -0300, Nelson Marcos wrote: > > > Hello all, > > > > Right now we're using Nginx(as a proxy) to serve videos(4gb) and small > > objects(< 100k), using Openstack Swift as backend. >

Re: proxy_buffering off disable cache ?

2017-03-17 Thread Maxim Dounin
Hello! On Fri, Mar 17, 2017 at 02:21:55PM -0300, Nelson Marcos wrote: > Hello all, > > Right now we're using Nginx(as a proxy) to serve videos(4gb) and small > objects(< 100k), using Openstack Swift as backend. > > Yesterday, I tried turn proxy_buffering off to see if it would improve > nginx p

Re: Using nginx as proxy

2017-03-17 Thread Francis Daly
On Fri, Mar 17, 2017 at 10:13:48AM -0700, Wakkas Rafiq wrote: Hi there, > Wonder if nginx can handle proxing non http – tcp traffic It can; but generally the source port for a tcp connection does not matter. The nginx stream module has no way (that I know of) to set the source port of the tcp co

proxy_buffering off disable cache ?

2017-03-17 Thread Nelson Marcos
Hello all, Right now we're using Nginx(as a proxy) to serve videos(4gb) and small objects(< 100k), using Openstack Swift as backend. Yesterday, I tried turn proxy_buffering off to see if it would improve nginx performance but it didn't. However, I realised that nginx stoped to write new files on

Re: Using nginx as proxy

2017-03-17 Thread Wakkas Rafiq
Thanks Rainer But trying to direct tcp traffic – so below http/https based will not help Wonder if nginx can handle proxing non http – tcp traffic thanks On 3/17/17, 9:04 AM, "rai...@ultra-secure.de" wrote: Maybe something like if ($host = '') { set $relhost

Re: Using nginx as proxy

2017-03-17 Thread rainer
Maybe something like if ($host = '') { set $relhost $server_addr; } proxy_set_header Host$relhost:3260; proxy_redirect https://$relhost:3260/ https://$relhost:12000/; Which is what was at least once needed to proxy the Zimbra admin inte

Re: proxy_bind with hostname from /etc/hosts possible?

2017-03-17 Thread larsg
thanks for the reply. indeed, we are generating the split_clients directive on the host it's running. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272918,273009#msg-273009 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mai

Re: Using nginx as proxy

2017-03-17 Thread Wakkas Rafiq
Tried server {     listen 169.254.2.2:12000;     allow 169.254.169.254;     deny all;     proxy_pass 10.0.52.151:3260; } then when saw source port changing from 12000. Tried adding following but no luck: proxy_bind 169.254.169.254:12000; proxy_bind 127.0.0.1:12000; and proxy_b

Re: Forum signup process broken - who admins the forum?

2017-03-17 Thread Jim Ohlstein
Please contact me off-list. Jim Ohlstein > On Mar 17, 2017, at 5:02 AM, Jason In North Hollywood > wrote: > > Hi, > > I absolutely can not sign up at the forum.nginx.org site. I've tried from > many places, my work (a major company) - HK and USA, but no luck. Says I'm a > spammer every ti

Using nginx as proxy

2017-03-17 Thread Wakkas Rafiq
Hi all I am trying to setup a simple confit where tcp traffic coming in at specific port - 12000 need to be send to a specific server:3260 In this case source ip will change (which is fine) but we are seeing on tcpdump that source port is changing from 12000 to some way higher value The server re

Re: proxy_bind with hostname from /etc/hosts possible?

2017-03-17 Thread Francis Daly
On Mon, Mar 13, 2017 at 10:38:12AM -0400, larsg wrote: Hi there, > is it possible to use an hostname from local /etc/hosts as proxy_bind > value? http://nginx.org/r/proxy_bind says that its argument is an address. So I'm going to say "no". > You can see our current configuration above. > Unfort

Re: Illumos/SmartOS/Solaris issue when using eventport and keepalive at the same time

2017-03-17 Thread Maxim Dounin
Hello! On Fri, Mar 17, 2017 at 11:46:46AM +1300, Peter Toth wrote: > There is a lock-up issue on Solaris derived operating systems when using > "keepalive" and "use eventport" configuration directives at the same time. > > The issue has been described previously back in 2015 and a patch was > pr

Re: Valid characters in nginx configuration

2017-03-17 Thread Aleksandar Lazic
Hi. Am 15-03-2017 18:00, schrieb SW@EU via nginx: Hi, there can I find the description of the nginx configuration file syntax e.g. in a BNF like notation. There is defined which characters are allowed in "name" e.g. of an upstream definition? Only ASCII or UTF8, only alpha or alphanumeric a

Re: Change target host in proxy_pass

2017-03-17 Thread Lucas Rolff
You can proxy_set_header Host – that should override whatever is defined in proxy_pass From: nginx mailto:nginx-boun...@nginx.org>> on behalf of Tomasz Kapek mailto:kapek...@gmail.com>> Reply-To: "nginx@nginx.org" mailto:nginx@nginx.org>> Date: Friday, 17 March 2017 at 1

Change target host in proxy_pass

2017-03-17 Thread Tomasz Kapek
Hello, I have NGINX acting as reverse proxy and I would like to achieve something like this: When I get a request like this GET http://app1.mydomain.aa.com/aaa/bbb it should be converted to: GET http://app1.mydomain.bb.com/aaa/bbb so such directive will do the job: proxy_pass http://app1.mydomain

Forum signup process broken - who admins the forum?

2017-03-17 Thread Jason In North Hollywood
Hi, I absolutely can not sign up at the forum.nginx.org site. I've tried from many places, my work (a major company) - HK and USA, but no luck. Says I'm a spammer every time. Never had this problem before. Is the forum signup process broken? Can you pass this along to them? Thanks ___