Merge pull request #813 from olvesh/externalauth_client_max_body_size_811
Added client_max_body_size to authPath location
This commit is contained in:
commit
dd354bf2a0
1 changed files with 3 additions and 0 deletions
|
@ -327,6 +327,9 @@ http {
|
||||||
proxy_set_header Host {{ $location.ExternalAuth.Host }};
|
proxy_set_header Host {{ $location.ExternalAuth.Host }};
|
||||||
proxy_ssl_server_name on;
|
proxy_ssl_server_name on;
|
||||||
|
|
||||||
|
client_max_body_size "{{ $location.Proxy.BodySize }}";
|
||||||
|
|
||||||
|
|
||||||
set $target {{ $location.ExternalAuth.URL }};
|
set $target {{ $location.ExternalAuth.URL }};
|
||||||
proxy_pass $target;
|
proxy_pass $target;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue