By lubangthang
Hi All,
I want to ask about how to optimize. Calculation RAM & CPU to set appropriate parameters.
I use CentOS 7 with Vestacp (Apache + Nginx).
And let me ask the meaning of keepalive_timeout 60 60;
Thanks. Lu Bang Thang
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi.
I can recommend you few DigitalOcean that could help you. This is not something VestaCP specific, but this will help tweak both Apache and Nginx if you want.
NGINX
How to optimize Nginx is older Debian tutorial, but it will still do its job, even on Centos. Nginx directives are same for all distros, so this is not problem. Beside that I would recommend some more steps like: Installing gzip - this tutorial for Centos 7 will help you learn more about it. In case you are using Wordpress this can help you. In case of PHP application, FastCGI caching can help.
For keepalive_timeout under nginx - syntax of it is keepalive_timeout timeout (header_timeout)
This is used to specify how long keep-alive client connection will stay open on server side. header_timeout is used to specify that time in Keep-alive response header.
Learn more about nginx modules on offical nginx site.
APACHE
How to optimize Apache Apache Content Caching
If you need more help don’t hesitate to post here :)
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.