Any room for optimization/improvements?

Hey all,

I am creating a free Python script to help people generate LEMP stacks with wordpress for Digital Ocean droplets, and I was wondering if anybody could offer any suggestions for improving and/or optimizing the NGINX config in terms of performance and security.



Any help would be greatly appreciated, Thanks!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.


I just came across this post. This sounds like a great idea, unfortunately, the Pastebin URLs have expired.

What I could suggest is maybe checking out the Nginx Config tool here for some ideas:

Regards, Bobby