Skip to content

Commit

Permalink
proxy header size
Browse files Browse the repository at this point in the history
  • Loading branch information
mkagenius committed Dec 31, 2024
1 parent e2459ed commit bc22ffe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/nginx/api.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ server {
proxy_pass http://127.0.0.1:8000;
include proxy_params;
proxy_redirect off;
proxy_buffer_size 128k;
proxy_buffers 4 256k;

}

# Return 444 for everything else (no response, just close connection)
Expand All @@ -30,6 +29,8 @@ server {
proxy_send_timeout 300;
proxy_read_timeout 300;
send_timeout 300;
proxy_buffer_size 128k;
proxy_buffers 4 256k;

# listen 443 ssl; # managed by Certbot
# ssl_certificate /etc/letsencrypt/live/api.gitpodcast.com/fullchain.pem; # managed by Certbot
Expand Down

0 comments on commit bc22ffe

Please sign in to comment.