Fix nginx template

This commit is contained in:
Zenara Daley 2018-04-12 15:43:13 -04:00
parent 9198e2c14b
commit 4b11fe4d25
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -772,7 +772,7 @@ stream {
# ngx_auth_request module overrides variables in the parent request,
# therefore we have to explicitly set this variable again so that when the parent request
# resumes it has the correct value set for this variable so that Lua can pick backend correctly
set $proxy_upstream_name "{{ buildUpstreamName $server.Hostname $all.Backends $location }}";
set $proxy_upstream_name "{{ buildUpstreamName $server.Hostname $all.Backends $location $all.DynamicConfigurationEnabled }}";
proxy_pass_request_body off;
proxy_set_header Content-Length "";