Connected Tutorial(This question is a follow-up to this tutorial):
How To Install and Configure Laravel with Nginx on Ubuntu (LEMP Stack)When I followed the tutorial and went to create my .conf file for my laravel project. Nginx did not have a sites-available or sites-enabled directory?
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!
Hi @alexgq3,
This is because you have installed Nginx from the Nginx repository. Instead of the sites-available/sites-enabled directory, you get conf.d directory. Navigate the conf.d directory and disable the default configuration.
sudo mv default.conf default.conf.disbaled
sudo nginx -s reload
Now you can create a new configuration file for your web. Don’t worry all the procedure is similar.
If anything else, please let me know.
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.