Skip to content

Commit

Permalink
Default for large_client_header_buffers er 4 8k; Øker denne for å bli… (
Browse files Browse the repository at this point in the history
#6964)

* Default for large_client_header_buffers er 4 8k; Øker denne for å bli kvitt 431 Request Header Fields Too Large som dukker opp iblant

* fjerner client_max_body_size

* templating fix
  • Loading branch information
vebnor authored Jan 7, 2025
1 parent f74888d commit 34a8faa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/prod-fss-k9saksbehandling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
nginx.ingress.kubernetes.io/proxy-read-timeout: '600'
nginx.ingress.kubernetes.io/proxy-send-timeout: '600'
spec:
image: { { image } }
image: {{ image }}
port: 9000
liveness:
path: /isAlive
Expand Down
2 changes: 2 additions & 0 deletions proxy.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ server {
# Proxy headers. Will be overwritten if you set them in blocks.
proxy_buffers 16 32k;
proxy_buffer_size 32k;
large_client_header_buffers 8 16k;

proxy_pass_header Nav-Callid;
proxy_set_header Referer $http_referer;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand Down

0 comments on commit 34a8faa

Please sign in to comment.