Report this

What is the reason for this report?

Any room for optimization/improvements?

Posted on August 5, 2017

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!



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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.