increase somaxcon to match new linux default value

This commit is contained in:
2022-11-04 14:18:54 +01:00
parent c64f707948
commit faea3c384b
3 changed files with 6 additions and 6 deletions

View File

@ -61,15 +61,15 @@ session.serialize_handler=igbinary
apc.serializer=igbinary
';
const NGINX_DEFAULT = 'server {
listen unix:/var/run/nginx/suspended backlog=2048 proxy_protocol;
listen unix:/var/run/nginx/suspended backlog=4096 proxy_protocol;
add_header Content-Type text/html;
location / {
return 200 \'<html><head><title>Suspended</title></head><body>This domain has been suspended due to violation of our <a href="http://' . ADDRESS . '">hosting rules</a>.</body></html>\';
}
}
server {
listen [::]:80 ipv6only=off fastopen=100 backlog=2048 default_server;
listen unix:/var/run/nginx.sock backlog=2048 default_server;
listen [::]:80 ipv6only=off fastopen=100 backlog=4096 default_server;
listen unix:/var/run/nginx.sock backlog=4096 default_server;
root /var/www/html;
index index.php;
server_name ' . ADDRESS . ' *.' . ADDRESS . ';