![]() ![]() Then edit the default site definition file: vi /etc/nginx/sites-available/default Therefore edit the main Nginx configuration file: vi /etc/nginx/nf We want to make the Nginx web site look as much as possible like a realistic production server. Install the Nginx web server on your server: apt update & apt upgrade -y apt install nginx -y 1.4. Implement BBR TCP congestion control on your server with the following commands: cat > /etc/sysctl.d/nf <<EOF _qdisc=fq _congestion_control=bbr EOF sysctl -p /etc/sysctl.d/nf 1.3. Under certain types of network congestion, it will improve your latency. Implement BBRīottleneck Bandwidth and Round-trip propagation time (BBR) is a TCP congestion control algorithm developed at Google. If you are not using nftables, then make the equivalent changes for your firewall. If you are using nftables, then enter the commands above. Whichever one you are using, you will need to open ports 80 and 443 for TCP input and persist your changes across reboots.įor example, if you are using nftables with a policy of drop on Debian 10+, the commands would be: nft add rule inet filter input tcp dport counter accept nft list ruleset > /etc/nf Open Firewallįirewalls are typically implemented with nftables, iptables, ufw, firewalld, or security groups. We end the tutorial by describing the procedure for setting up a Windows client. If your server or client runs a recent version of Ubuntu, the procedures will be very similar to those for Debian 10+. In the examples in this article, we give the server host name as and the server IP address as yy.yy.yy.yy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |