Welcome! Log In Create A New Profile

Advanced

Re: server bloc conf ?

Theodoro
March 06, 2015 01:48PM
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@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@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@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@nginx.org
>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>>
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

server bloc conf ?

shiroweb March 06, 2015 01:00PM

Re: server bloc conf ?

Theodoro March 06, 2015 01:12PM

Re: server bloc conf ?

shiroweb March 06, 2015 01:16PM

Re: server bloc conf ?

Theodoro March 06, 2015 01:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready