Skip to content

Commit

Permalink
refactor: Only increase fascgi_buffers size
Browse files Browse the repository at this point in the history
  • Loading branch information
PROFeNoM committed Feb 14, 2024
1 parent b2367da commit 7023543
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
17 changes: 7 additions & 10 deletions tests/randomized/docker/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
user nginx;
worker_processes auto;
worker_processes 1;

error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;


events {
worker_connections 4096;
multi_accept on;
worker_connections 1024;
}


http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
Expand All @@ -24,15 +25,11 @@ http {
access_log /var/log/nginx/access.log main;

sendfile on;
tcp_nopush on;
tcp_nodelay on;

keepalive_timeout 30s;
#tcp_nopush on;

gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
keepalive_timeout 65;

worker_rlimit_nofile 8192;
#gzip on;

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
Expand Down
4 changes: 0 additions & 4 deletions tests/randomized/docker/nginx.site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ server {
# response to the http client and will not be able to modify it (e.g. status code 502) in case of segfault.
fastcgi_buffers 32 32k;
fastcgi_buffer_size 64k;
client_body_buffer_size 128k;
client_header_buffer_size 8k;
fastcgi_read_timeout 300;
fastcgi_send_timeout 300;
# FASTCGI config
try_files $uri =404;
include fastcgi_params;
Expand Down

0 comments on commit 7023543

Please sign in to comment.