etc
apt
clamav
default
dnsmasq.d
dovecot
logrotate.d
mysql
nginx
pam.d
postfix
postfix-clearnet
security
ssh
sysctl.d
99-custom-hosting.conf
systemd
tor
login.defs
rc.local
resolv.conf
vsftpd.conf
var
COPYING
README.md

Note when applying this update you will have to update existing nginx vhosts to match new listening addresses (IPv6). Preferably you should update them to unix socket though and apply the changes to the tor hidden service config as well
10 lines
224 B
Plaintext
10 lines
224 B
Plaintext
net.ipv4.tcp_fin_timeout = 30
|
|
net.ipv4.ip_local_port_range = 1024 65535
|
|
net.ipv4.tcp_timestamps = 0
|
|
net.ipv4.tcp_fastopen = 3
|
|
net.core.somaxconn = 2048
|
|
net.core.netdev_max_backlog = 5000
|
|
vm.swappiness=1
|
|
vm.dirty_ratio = 40
|
|
|