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

Re: Using nginx as proxy

2017-03-17 Thread Wakkas Rafiq
d proxy_bind $remote_addr:12000; > > FROM: nginx on behalf of Wakkas Rafiq > > REPLY-TO: > DATE: Friday, March 17, 2017 at 8:08 AM > TO: > SUBJECT: Using nginx as proxy > > Hi all > > I am trying to set

Re: Using nginx as proxy

2017-03-17 Thread rainer
ied adding following but no luck: proxy_bind 169.254.169.254:12000; proxy_bind 127.0.0.1:12000; and proxy_bind $remote_addr:12000; FROM: nginx on behalf of Wakkas Rafiq REPLY-TO: DATE: Friday, March 17, 2017 at 8:08 AM TO: SUBJECT: Using nginx as proxy Hi all I am trying to setup a sim

Re: Using nginx as proxy

2017-03-17 Thread Wakkas Rafiq
proxy_bind $remote_addr:12000; From: nginx on behalf of Wakkas Rafiq Reply-To: Date: Friday, March 17, 2017 at 8:08 AM To: Subject: Using nginx as proxy Hi all I am trying to setup a simple config where tcp traffic coming in at specific port - 12000 need to be send to a specific

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: Using Nginx as proxy content are "striped"

2016-10-20 Thread tbaror
Thanks but now its redirect to the actual server , how i would enforce it pass trough the proxy? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270422,270427#msg-270427 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/

Using Nginx as proxy content are "striped"

2016-10-20 Thread tbaror
Hello All, I am using Nginx for proxy to OpenGrok server using following conf below , the issue i have is that the proxy works but seems to be missing content and not works as expected. Any idea how to make it work better? Please advise Thanks server { listen 80; return 301 https://$host

Re: Using Nginx as proxy content are "striped"

2016-10-20 Thread itpp2012
proxy_pass http://192.168.1.100:38080; (remove the trailing slash) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270422,270423#msg-270423 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Using Nginx as proxy mail server

2015-02-19 Thread Guest13778
Hey! That's a good point. Yes I read about postfix too, but I wasn't very sure, but thank you for that idea. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256800,256812#msg-256812 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.

Re: Using Nginx as proxy mail server

2015-02-19 Thread Axel
Hello, why do you want to use nginx for that? I'd suggest to use postfix with a minimal configuration. That's what postfix is designed to do and there are some howtos. regards, Axel Am Donnerstag, 19. Februar 2015, 10:27:18 schrieb Guest13778: > Hello! > > Would it be possible to set up a

Using Nginx as proxy mail server

2015-02-19 Thread Guest13778
Hello! Would it be possible to set up a Nginx server that will proxy emails to a cPanel server? For example I set up a simple VPS server with IP 10.0.0.1 and then I set my domain's MX record to mail.mydomain.com which points 10.0.0.1 so that tiny VPS server will send all emails to my cPanel serve