Skip to content

Commit

Permalink
fix(sentry): Increase NGINX proxy buffer size
Browse files Browse the repository at this point in the history
Sentry sends large Link headers for /api/0/issues/<issue>/attachments/

Reference: https://trace.frappe.cloud/organizations/frappe/issues/18148/events/
  • Loading branch information
adityahase authored Nov 8, 2024
1 parent e5e14a5 commit 71dce15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agent/templates/agent/nginx.conf.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ server {
{% elif trace %}

location / {
proxy_buffer_size 32k;
proxy_buffers 8 16k;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://127.0.0.1:9000/;
}
Expand Down

0 comments on commit 71dce15

Please sign in to comment.