Welcome!
Log In
Create A New Profile
Home
>
Nginx Related Forums
>
How to...
> Topic
Advanced
Missing /etc/nginx/sites-available/default
Posted by
Pawangond
Forum List
Message List
New Topic
Pawangond
Missing /etc/nginx/sites-available/default
December 30, 2017 12:02AM
Registered: 6 years ago
Posts: 3
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 ?
Reply
Quote
silverhawkz
Re: Missing /etc/nginx/sites-available/default
January 11, 2018 02:50AM
Registered: 6 years ago
Posts: 4
u can create the folders and the touch the default file urself...it will still work .
verify with nginx -t
Reply
Quote
silverhawkz
Re: Missing /etc/nginx/sites-available/default
January 11, 2018 03:09AM
Registered: 6 years ago
Posts: 4
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)
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 149
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024