Skip to content

Instantly share code, notes, and snippets.

View Femina's full-sized avatar
🎯
Focusing

Femina Femina

🎯
Focusing
  • United Arab Emirates
View GitHub Profile

nginx sites-available folder not found

create the sites-available and sites-enabled folder

sudo mkdir /etc/nginx/sites-available
sudo mkdir /etc/nginx/sites-enabled

edit the http block inside /etc/nginx/nginx.conf and add this line

include /etc/nginx/sites-enabled/*;