I deleted default file in sites-enabled I am not sure what to do now (ubuntu 14.04)

March 24, 2015 1.8k views
Nginx Ubuntu DigitalOcean

I am going through the tutorial to create an ssl certificate https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-nginx-for-ubuntu-12-04 and before i finished it I deleted the “default” file in sites-enabled in ubuntu 14.04. I need to do duplicate it to make a file with the name of my site and then do a sym link but I have deleted the file and I do not know how to proceed from here

1 Answer

The file is in /etc/nginx/sites-available. The files in sites-enabled, including “default”, are just symlinks to those files.

Have another answer? Share your knowledge.

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