Question

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

Posted March 24, 2015 2k views
NginxUbuntuDigitalOcean

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

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.

×
1 answer

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

Submit an Answer