Hello! After installing LEMP on Ubuntu 14.04 with “one click applications” in my 512 droplet i want to optimize Nginx.
This tutorial required Debian >> How To Optimize Nginx Configuration
Is it advisable to follow the same steps of this tutorial to optimize Nginx on ubuntu 14.04?
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!
I have a problem in this point with the Static File Caching:
location ~* .(jpg|jpeg|png|gif|ico|css|js)$ { expires 365d; }
If i put in /etc/nginx/nginx.conf “http” block fail,
Where should be placed?
Thanks
I think In this part of tutorial the " ; " is missing to close access_log off and the ngnix.conf fail
Logging Nginx logs every request that hits the VPS to a log file. If you use analytics to monitor this, you may want to turn this functionality off. Simply edit the access_log directive:
access_log off
Hi!
As Ubuntu is based on Debian, they are largely the same on some levels. All the configurations described in that article should work just as well on an Ubuntu as a Debian one.
Let us know how it goes!
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.