Create the config directory for stream config.
This commit is contained in:
parent
a434ddaee2
commit
be73c1f6a5
|
@ -7,7 +7,7 @@
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
%w( sites-available sites-enabled ).each do |d|
|
%w( sites-available sites-enabled stream-available stream-enabled).each do |d|
|
||||||
directory "/etc/nginx/#{d}" do
|
directory "/etc/nginx/#{d}" do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
group 'root'
|
group 'root'
|
||||||
|
@ -20,7 +20,7 @@ remote_file '/etc/nginx/nginx.conf' do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
group 'root'
|
group 'root'
|
||||||
mode '644'
|
mode '644'
|
||||||
|
|
||||||
notifies :reload, 'service[nginx]'
|
notifies :reload, 'service[nginx]'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue