Re: nginx and FIX server

2016-10-28 Thread Alex Samad
Hi Not really an option in current setup. The rate limit is to stop clients with bad fix servers that spam our fix server. Right now we have a custom bit of java code that that bit rate limits tcp streams.. just bought into nginx so looking at stream proxing it through it instead A On 29 Octob

Re: round robin rule

2016-10-28 Thread Tolga Ceylan
> On Tue, Oct 25, 2016 at 04:28:22PM -0700, Frank Liu wrote: > > Hi there, > >> If I configure one "upstream" with 2 servers and use the default round >> robin, will the traffic be balanced based on the upstream or the virtual >> servers. e.g.: if I configure 2 virtual host "server" blocks, both >>

Re: round robin rule

2016-10-28 Thread Francis Daly
On Tue, Oct 25, 2016 at 04:28:22PM -0700, Frank Liu wrote: Hi there, > If I configure one "upstream" with 2 servers and use the default round > robin, will the traffic be balanced based on the upstream or the virtual > servers. e.g.: if I configure 2 virtual host "server" blocks, both > proxy_pas

Re: Nginx proxy_pass not working as expected.

2016-10-28 Thread Francis Daly
On Fri, Oct 28, 2016 at 10:17:11AM -0400, stuwat wrote: Hi there, > We're trying to point example.com at a site hosted at github... In general, you proxy_pass to something that you control. > So we need example.com to point to the site hosted at example.github.io > > So a user visits example.c

Re: nginx and FIX server

2016-10-28 Thread CJ Ess
Cool. Probably off topic, but why rate limit FIX? My solution for heavy traders was always to put them on their own hardware and pass the costs back to them. They are usually invested in whatever strategy they are using and happy to pay up. On Fri, Oct 28, 2016 at 1:29 AM, Alex Samad wrote: >

Re: Nginx proxy_pass not working as expected.

2016-10-28 Thread stuwat
We're trying to point example.com at a site hosted at github... So we need example.com to point to the site hosted at example.github.io So a user visits example.com they get the page hosted at example.github.com, but with example.com still in the address bar. HTH Stuart Posted at Nginx Forum:

Re: Nginx proxy_pass not working as expected.

2016-10-28 Thread Jeff Dyke
You may want to define example.org as an upstream if it is just an application server that handles requests, but not entirely sure what you're trying to accomplish... upstream anything.you.want { server 127.0.0.1:PORT # or domain name; } server { server_name example.com; location / { proxy_pass

Nginx proxy_pass not working as expected.

2016-10-28 Thread stuwat
Hi I have the virtualhost file configured as the following:- server { server_name example.com; location / { proxy_pass http://example.org; } } When I visit example.com it redirects correctly to example.org, but I need it to show example.com in the address bar. How can I do this? i tried chan

ตอบกลับ: Re: Nginx with ngx_stream_core_module

2016-10-28 Thread Nattakorn S
Thank you Maxim I try to use stream module because http module not work with raw incoming TCP/IP. I always got error 400 and transaction not sent from nginx to my app so I try to use stream module. My app develop with fcgi So if you mean my app can not accept raw TCP/IP data I'll try to change

Re: Nginx with ngx_stream_core_module

2016-10-28 Thread Maxim Dounin
Hello! On Fri, Oct 28, 2016 at 11:16:03AM +, Nattakorn S wrote: > I have electronic device and I config to send TCP/IP data to my > server by raw data no http header. > > My server use nginx with and config for use module > ngx_stream_core_module like this > > > stream { > server

Nginx with ngx_stream_core_module

2016-10-28 Thread Nattakorn S
Dear all I have electronic device and I config to send TCP/IP data to my server by raw data no http header. My server use nginx with and config for use module ngx_stream_core_module like this stream { server { listen127.0.0.1:8080; proxy_pa

Re: Problem nginx perf

2016-10-28 Thread etiennej
I noticed, the first or 2 first requests are always the slower, and then comes the normal -fast- behavior. Anything I should now about that ? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270597,270618#msg-270618 ___ nginx mailing list ngi