SmartOS support
This commit is contained in:
parent
3bc96ed8e4
commit
6fe431f698
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ class nginx::params {
|
|||
|
||||
$nx_conf_dir = $::kernelversion ? {
|
||||
/(?i-mx:joyent)/ => '/opt/local/etc/nginx',
|
||||
default => '/etc/nginx/',
|
||||
default => '/etc/nginx',
|
||||
}
|
||||
|
||||
if $::osfamily {
|
||||
|
|
|
@ -50,6 +50,6 @@ http {
|
|||
}
|
||||
<% if scope.lookupvar('nginx::mail') %>
|
||||
mail {
|
||||
include /etc/nginx/conf.mail.d/*.conf;
|
||||
include <%= scope.lookupvar('nginx::params::nx_conf_dir') %>/conf.mail.d/*.conf;
|
||||
}
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in a new issue