Deploy the basic auth file.
This commit is contained in:
parent
d6d8b2a5d2
commit
bd0043cebf
|
@ -0,0 +1 @@
|
|||
kazu634:$apr1$5iMN.i2P$58gdzg.dm7Tev8gCKXlpa/
|
|
@ -22,12 +22,14 @@ link '/etc/nginx/stream-enabled' do
|
|||
end
|
||||
|
||||
# Deploy the nginx configuration files:
|
||||
remote_file '/etc/nginx/nginx.conf' do
|
||||
%w(nginx.conf basic-auth).each do |f|
|
||||
remote_file "/etc/nginx/#{f}" do
|
||||
owner 'root'
|
||||
group 'root'
|
||||
mode '644'
|
||||
|
||||
notifies :reload, 'service[nginx]'
|
||||
end
|
||||
end
|
||||
|
||||
# Log rotation setting:
|
||||
|
|
Loading…
Reference in New Issue