server bloc conf ?

Theodoro daniel.theodoro at gmail.com
Fri Mar 6 18:46:35 UTC 2015


Jack,

Any file that you put in "conf.d" or "sites-enabled" ends with .conf will
be loaded when nginx start.

Daniel Theodoro
Cel: 11 99399-3364
http://www.linkedin.com/in/danieltheodoro

• RHCA - Red Hat Certified Architect
• RHCDS - Red Hat Certified Datacenter Specialist
• RHCE - Red Hat Certified Engineer
• RHCVA - Red Hat Certified Virtualization Administrator
• LPIC-3 - Senior Level Linux Certification
• Novell Certified Linux Administrator - Suse 11
• OCA - Oracle Enterprise Linux Administrator Certified Associate

On Fri, Mar 6, 2015 at 3:14 PM, JACK LINKERS <jacklinkers at gmail.com> wrote:

> Hello Daniel,
>
> I'm not sure to understand, sry, how do I setup a domain ? What would be
> the syntax for the file name ? domain.tld.conf ?
>
> Regards
>
> 2015-03-06 19:09 GMT+01:00 Theodoro <daniel.theodoro at gmail.com>:
>
>> Jack,
>>
>> There's no problem, or you can just add this line in your nginx.conf.
>>
>>   include sites-enabled/*.conf;
>>
>> Daniel Theodoro
>> Cel: 11 99399-3364
>> http://www.linkedin.com/in/danieltheodoro
>>
>> • RHCA - Red Hat Certified Architect
>> • RHCDS - Red Hat Certified Datacenter Specialist
>> • RHCE - Red Hat Certified Engineer
>> • RHCVA - Red Hat Certified Virtualization Administrator
>> • LPIC-3 - Senior Level Linux Certification
>> • Novell Certified Linux Administrator - Suse 11
>> • OCA - Oracle Enterprise Linux Administrator Certified Associate
>>
>> On Fri, Mar 6, 2015 at 2:58 PM, JACK LINKERS <jacklinkers at gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> I used to use sites-available & sites-enabled in a previous version of
>>> NginX.
>>> I compiled it from source with ngx_pagespeed module on another VPS.
>>> I don't see anymore the folders available / enabled.
>>> On the other hand I noticed in /etc/nginx/nginx.conf this line : include
>>> conf.d/*.conf;
>>>
>>> I'm I supposed to store my domain configs in that folder ?
>>> Like /etc/nginx/conf.d/mydomain.tld.conf; ?
>>>
>>> Thanks
>>>
>>> _______________________________________________
>>> nginx mailing list
>>> nginx at nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>>
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150306/228aa20e/attachment-0001.html>


More information about the nginx mailing list