Question

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.

/etc/nginx/nginx.conf https://pastebin.com/UxA8pSr2

/etc/nginx/conf.d/default.conf https://pastebin.com/uifR71vw

Any help would be greatly appreciated, Thanks!

Subscribe
Share

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.

Hello,

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:

https://www.digitalocean.com/community/tools/nginx#?

Regards, Bobby