Add fixme note

This commit is contained in:
Basti 2018-06-14 11:47:07 +02:00
parent db039a185a
commit 122dcfeea7

View File

@ -240,6 +240,9 @@ nginx_site express_domain do
enable true
end
# FIXME This doesn't actually work on the first run. Apparently nginx is not
# reloaded after adding the vhost or sth, because it does work on the second
# run.
unless node.chef_environment == "development"
execute "letsencrypt cert for #{express_domain}" do
command "./certbot-auto certonly --webroot --agree-tos --email ops@5apps.com --webroot-path /var/www/#{express_domain} -d #{express_domain} -n"