To be clear, this is for a custom http module we wrote. We want it to know
about request headers that we set in the nginx.conf (for proxy_pass etc).
But it doesn't seem like the custom module receives the modified request
headers. Is there any way to both a) set a request header for proxy_pass but
On Wed, Nov 23, 2016 at 01:22:42PM -0500, Sushma wrote:
Hi there,
> I understand that proxy_set_header sets headers before proxying the request
> to the upstream server.
proxy_set_header adds extra http headers to the request that nginx sends
to its upstream as part of the proxy_pass
Hi all,
I understand that proxy_set_header sets headers before proxying the request
to the upstream server.
Is there some way I can set the headers at the time of request processing
itself not just before proxying to upstream servers?
Thanks,
Sushma
Posted at Nginx Forum:
Спасибо.
В итоге заборол с помощью директивы proxy_redirect.
Насчет forward proxy: а какая разница forward или reverse. Весь вопрос в
том, кого считать клиентом, а кого upstream'ом.
У меня такая конфигурация пока что отлично работает.
Posted at Nginx Forum:
I tried both V1.10.1 and V1.11.6 same behaviour
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,271128,271132#msg-271132
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Wed, Nov 23, 2016 at 05:27:20AM -0500, nerjin wrote:
> Maxim Dounin Wrote:
> ---
> > Непонятно, впрочем, зачем вы вообще пытаетесь использовать форму
> > запроса с абсолютным URI в строке запроса. В HTTP это используют
> >
fail2ban comes to mind (ipset + iptables + logscanner).
http://www.fail2ban.org/
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,270680,271131#msg-271131
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Log through syslog to another system?
If the other system isn't listening there is no harm done... (Slightly more
network traffic).
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,271108,271130#msg-271130
___
nginx mailing list
Maxim Dounin Wrote:
---
> Непонятно, впрочем, зачем вы вообще пытаетесь использовать форму
> запроса с абсолютным URI в строке запроса. В HTTP это используют
> исключительно для запросов к forward proxy (в HTTP/1.0 только
> это и было