Clone the repository: git clone https://github.com/yuk1c/nginx-conf
Now stop your nginx: sudo systemctl stop nginx
Then rename your nginx config and replace it with our config (but before this we need root rights): cd /etc/nginx/ && mv nginx.conf nginx.old && mv ~/nginx-conf/nginx.conf $PWD
And now, you can start nginx again: sudo systemctl start nginx
All that you need - replace the worker_processes to your cpu threads * 2
If you want, you can configure SSL.
- Ubuntu 20.04 or later
- Nginx (we recommend latest stable version)
- Apache2 running on 8080 port
- Cloudflare