DNSBL with mail proxy

2016-03-30 Thread Pat Suwalski
Hello, I started using nginx as a proxy for incoming mail, for DDoS protection and hiding of origin. I have it set up as follows: mail { server_name foo.bar.com; auth_http localhost:8080/auth-smtppass.php; server { listen 25; protocol s

Re: Nginx configuration

2016-03-30 Thread Anoop Alias
No there is no rest api for generating nginx config dynamically. Please see below link for other options: http://stackoverflow.com/questions/15277453/any-good-way-to-programmatically-change-nginx-config-file-from-python -- *Anoop P Alias* ___ nginx ma

Nginx configuration

2016-03-30 Thread marcosbontempo
Hello, I need to create a web interface to configure my nginx reverse proxy. I only know how to configure nginx with the configuration file. Is there another way to change the configurations, like a REST API, so I can make it dynamically? Any tip will be very helpful, Thanks. Posted at Nginx F

Re: $upstream_http_NAME and $sent_http_NAME vars not available in certain scopes

2016-03-30 Thread Maxim Dounin
Hello! On Wed, Mar 30, 2016 at 07:11:45AM -0400, neilstuartcraig wrote: > Hi all > > I am developing a proxy service which uses NGINX to reverse proxy, kind of > CDN-like but very specific to our needs. During this. I have hit an issue > which I *think* is a bug but wanted to ask in case anyone

Re: $upstream_http_NAME and $sent_http_NAME vars not available in certain scopes

2016-03-30 Thread neilstuartcraig
Also, for info: nginx -V nginx version: nginx/1.9.13 built with OpenSSL 1.0.2g 1 Mar 2016 TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/current/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/defa

Re: $upstream_http_NAME and $sent_http_NAME vars not available in certain scopes

2016-03-30 Thread neilstuartcraig
Also, for info: nginx -V nginx version: nginx/1.9.13 built with OpenSSL 1.0.2g 1 Mar 2016 TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/current/nginx.conf --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx/

Re: multiple named captures in map regex

2016-03-30 Thread Cole Tierney
Thank you, Francis! That’s great. Cole > On Mon, Mar 28, 2016 at 11:30:32PM -0400, Cole Tierney wrote: > > Hi there, > > > Is it possible to have more than one named capture in a map regex? > > In a map regex, yes. > > In a "value" part of a map, no. > > http://nginx.org/r/map

$upstream_http_NAME and $sent_http_NAME vars not available in certain scopes

2016-03-30 Thread neilstuartcraig
Hi all I am developing a proxy service which uses NGINX to reverse proxy, kind of CDN-like but very specific to our needs. During this. I have hit an issue which I *think* is a bug but wanted to ask in case anyone can point to a solution or some reading I can do. The problem I have is this: $upst

Re: nginx counterpart of haproxy's acl dst

2016-03-30 Thread Aleksandar Lazic
Hi. Am 30-03-2016 10:24, schrieb Alexey S: Hi, does nginx have a variable, that represents the destination IP address and port, like it was seen/used by the client at the connection time? Could you mean http://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_addr Cheers Ale

nginx counterpart of haproxy's acl dst

2016-03-30 Thread Alexey S
Hi, does nginx have a variable, that represents the destination IP address and port, like it was seen/used by the client at the connection time? Thank you. WBR, Alexey ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/ngi

pcre2

2016-03-30 Thread gitl
Are there any plans to move from pcre (8.x) to pcre2 (10.x)? I realize that the API changed quite a bit but it would be awesome if there was a migration plan for it. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265726,265726#msg-265726 ___