Toggle `nginx` setup behavior.

This commit is contained in:
Kazuhiro MUSASHI 2021-09-23 19:14:28 +09:00 committed by Gitea
parent e8cd0f4a32
commit a0fef35f2f
1 changed files with 6 additions and 2 deletions

View File

@ -33,10 +33,14 @@ end
end
# Prerequisites for Building nginx:
include_recipe './webadm.rb'
if node['nginx']['skip_webadm']
include_recipe './webadm.rb'
end
# Install Let's Encrypt:
include_recipe './lego.rb'
if node['nginx']['skip_lego']
include_recipe './lego.rb'
end
# Build nginx:
include_recipe './build.rb'