Skip to content

Commit

Permalink
Merge pull request #813 from olvesh/externalauth_client_max_body_size…
Browse files Browse the repository at this point in the history
…_811

Added client_max_body_size to authPath location
  • Loading branch information
aledbf authored Jun 6, 2017
2 parents 2829997 + d4600a8 commit dd354bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/nginx/rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ http {
proxy_set_header Host {{ $location.ExternalAuth.Host }};
proxy_ssl_server_name on;

client_max_body_size "{{ $location.Proxy.BodySize }}";


set $target {{ $location.ExternalAuth.URL }};
proxy_pass $target;
}
Expand Down

0 comments on commit dd354bf

Please sign in to comment.