Welcome! Log In Create A New Profile

Advanced

Missing /etc/nginx/sites-available/default

Posted by Pawangond 
Missing /etc/nginx/sites-available/default
December 30, 2017 12:02AM
i was following a tutorial to setup nginx on ubuntu 16.04

i am supposed to edit a this file : /etc/nginx/sites-available/default
but its not there , there is no folder like sites-available
what i should do ?
Re: Missing /etc/nginx/sites-available/default
January 11, 2018 02:50AM
u can create the folders and the touch the default file urself...it will still work .

verify with nginx -t
Re: Missing /etc/nginx/sites-available/default
January 11, 2018 03:09AM
adding to the thread above , the folders should be created provided you have the following config in your nginx.conf

include /etc/nginx/sites-enabled/*; #(for virtual hosts)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 119
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready