Skip to content

Commit

Permalink
attempt #4: fix buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 12, 2024
1 parent fd1ef28 commit 2e6b773
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ http {
}

location = /api {
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
Expand All @@ -31,7 +34,7 @@ http {
proxy_http_version 1.1;
proxy_redirect off;
proxy_pass https://auis-api.fly.dev;
}
}

# Additional configuration can be added here if needed
}
Expand Down

0 comments on commit 2e6b773

Please sign in to comment.