Hi! I am running a wordpress Blog and I used the tutorials here to setup my server, since I don’t have a lot of experience with this. By going through other tutorials, I found out that there is an “official” set of parameters/configurations related to it in the Wordpress Codex.
Is it okay to use it? Because some of the settings are different than the ones presented on the DO tutorials.
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!
Cool, thanks! <br> <br>By comparing both tutorials/files, the first differences are related to the following parameters: <br> <br>These two are not used according to the WP Codex: <br>tcp_nopush on; <br>tcp_nodelay on; <br> <br>The next ones have different values: <br>worker_connections - 1024 instead of 768. <br>keepalive_timeout - 3 instead of 65. <br> <br>The setting bellow is included on Nginx installation but it’s not mentioned in WP Codex: <br>types_hash_max_size 2048; <br> <br>So, should I include/exclude them all? The parameters that are off on the WP Codex do make a difference on performance? <br> <br>
The tutorial here on DigitalOcean is a barebones setup that should get you up and running quickly. The Wordpress Codex docs have some advanced configurations. Some of those are focused on multi-site setups and others are regarding specific plugins. They should be fine you use, but if you have questions about any specific setting feel free to ask!
Those all seem like sane settings to me. If you want to understand them a bit better, there’s an article that goes over what some of these setting mean: <br> <br>https://www.digitalocean.com/community/articles/how-to-optimize-nginx-configuration <br> <br>You can also look at the Nginx documentation: <br> <br>http://nginx.org/en/docs/dirindex.html
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.