Nginx domain work without be into sites-enabled

Francis Daly francis at
Mon Aug 3 10:35:22 UTC 2015

On Mon, Aug 03, 2015 at 12:12:54AM -0400, Eberx wrote:

Hi there,

> I have many subdomains which is created into /etc/nginx/sites-enabled. For
> example

Your nginx.conf presumably has "include /etc/nginx/sites-enabled/*;"
so that these files are read when nginx starts.

> 1.
> 2.
> 3. 
> are already enabled. and working fine. But I tried to remove
> from public access. Then I did from
> sites-enabled folder but I can access to Site is still
> there.

Did you successfully restart or reload nginx after removing the file?

What response do you get for "curl -i"?

What response do you want instead for "curl -i"?

Francis Daly        francis at

More information about the nginx mailing list