Getting started

Francis Daly francis at daoine.org
Fri Dec 13 13:24:13 UTC 2019


On Thu, Dec 12, 2019 at 06:17:25PM +0000, James Read wrote:
> On Thu, Dec 12, 2019 at 5:03 PM Francis Daly <francis at daoine.org> wrote:

Hi there,

> > If that shows no problems, then something like
> >
> >   nginx -T | grep 'server\|listen'
> >
> > should show the "server" blocks, "listen" directives, and "server_name"
> > configurations that nginx will use.

> I found the file /etc/nginx/sites-available/default which has the line:
> 
>  root /var/www/html;
> 
> I edited the file there and now my edits work.

Good stuff; I'm glad that you found the place to make changes that
stick. And thank you for letting the list know too; that will help the
next person who has the same initial problem.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list