Maxim,
Different locations solved the issue.
Thank you for the help!
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,286421,286423#msg-286423
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Thu, Dec 05, 2019 at 01:12:07PM -0500, stmx38 wrote:
> Hello,
>
> We use Nginx map module to sent traffic to different upstreams based on the
> HTTP header:
>
> map $http_flow $flow_upstream {
> default "http://flow-dev";;
> prod"http://flow-prod";;
> test"http://flow-te
Hello,
We use Nginx map module to sent traffic to different upstreams based on the
HTTP header:
map $http_flow $flow_upstream {
default "http://flow-dev";;
prod"http://flow-prod";;
test"http://flow-test";;
dev "http://flow-dev";;
}
location / {
proxy_read_timeout 5s;
Francis,
Basically, the issue was with the 'proxy_set_header' directives. In such
cases, when we define at least one in the location, we should also define
all the rests headers.
>From your reply, I understand that with the
'proxy_read_timeout/proxy_send_timeout' we should not have such situation
On Wed, Dec 04, 2019 at 07:08:52PM +0100, Thomas Schweikle wrote:
Hi there,
> I'm a little bit lost now, since various configurations tried just dont
> work. None of them.
I'm not quite clear on what specifically you want your nginx to do.
If it matters -- could you describe that?
> locati
You got it! :)
Some steps before I was using envsubst, which was also trying to substitute
the nginx variables.
Specifying what variables to substitute (i.e. envsubst '$ONLY_THIS_VAR' <
mydomain.com.conf) solved the issue.
Thank you!
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,286
Hello!
On Thu, Dec 05, 2019 at 06:51:17AM -0500, lucaprete wrote:
> I'm using nginx in form of container (docker.io/nginx), version
> 1.17.3-alpine
> I'm trying to setup my nginx to do TLS auth and then forward packets to
> another host in the network.
> As part of this I also have to support som
Hi guys,
I'm using nginx in form of container (docker.io/nginx), version
1.17.3-alpine
I'm trying to setup my nginx to do TLS auth and then forward packets to
another host in the network.
As part of this I also have to support some probes that continuously monitor
a secondary location, same server