Re: Nginx domain work without be into sites-enabled

2015-08-05 Thread Francis Daly
On Tue, Aug 04, 2015 at 12:03:28AM -0400, Eberx wrote: Hi there, > Thank you for advice. > > It is my fault. I did not define any default_server in my config. Good that you found a solution, and thanks for letting the list know what the fix is. Cheers, f -- Francis Dalyfran..

Re: Nginx domain work without be into sites-enabled

2015-08-03 Thread Eberx
Hello, Thank you for advice. It is my fault. I did not define any default_server in my config. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260717,260734#msg-260734 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

Re: Nginx domain work without be into sites-enabled

2015-08-03 Thread Francis Daly
On Mon, Aug 03, 2015 at 07:41:15AM -0400, Eberx wrote: > Francis Daly Wrote: Hi there, > > What response do you get for "curl -i http://music.example.com/";? > > I get response header > > Server: nginx > Date: Mon, 03 Aug 2015 11:39:04 GMT > Content-Type: text/html; charset=utf-8 > Transfer-Enc

Re: Nginx domain work without be into sites-enabled

2015-08-03 Thread Eberx
Francis Daly Wrote: --- > 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

Re: Nginx domain work without be into sites-enabled

2015-08-03 Thread Francis Daly
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. www.example.com > 2.

Nginx domain work without be into sites-enabled

2015-08-02 Thread Eberx
Hello, I have many subdomains which is created into /etc/nginx/sites-enabled. For example 1. www.example.com 2. music.example.com 3. video.example.com are already enabled. and working fine. But I tried to remove music.example.com from public access. Then I did music.example.com from sites-enabl