Best Practice installing Wordpress on LEMP

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.

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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> <br> <br>You can also look at the Nginx documentation: <br> <br>

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!