Skip to content

Commit

Permalink
Merge pull request #8 from flant/fix-request-uri-too-large
Browse files Browse the repository at this point in the history
large_client_header_buffers 4 8k (default) -> 32k
  • Loading branch information
Dmitry Stolyarov authored Sep 5, 2019
2 parents 0344716 + 4f39440 commit 0c80242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run-proxy
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,15 @@ http {
server_name ${HOSTNAME};
listen ${LISTEN} ssl;
ssl_protocols TLSv1.2;
ssl_certificate /etc/nginx/server.crt;
ssl_certificate_key /etc/nginx/server.key;
ssl_client_certificate /var/run/secrets/kubernetes.io/serviceaccount/ca.crt;
ssl_verify_client on;
large_client_header_buffers 4 32k;
location ${LOCATION} {
if (\$ssl_client_s_dn_cn !~ "^${USER}$") {
return 403;
Expand Down

0 comments on commit 0c80242

Please sign in to comment.