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
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
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 [email protected]:
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