Commit 9a58aed0 authored by Stefan Galinski's avatar Stefan Galinski 🎮
Browse files

[TASK] Rewrite the vhost conf

parent 1205339e
......@@ -47,8 +47,6 @@ end
### Setup Configuration ###
###########################
# ssl certificate needed (requires that typo3_site (or a kind of) was executed before this script)
node['webgrind']['base_hostname'] = node['typo3_site']['hostname'] + '.crt'
template node['webgrind']['install_path'] + '/webgrind.config.php.erb' do
source 'webgrind.config.php.erb'
mode '0644'
......@@ -66,4 +64,15 @@ web_app node['webgrind']['hostname'] do
server_name node['webgrind']['hostname']
apache node['apache']
docroot node['webgrind']['install_path'] + '/'
end
\ No newline at end of file
end
# ssl certificate needed (requires that typo3_site (or a kind of) was executed before this script)
node['webgrind']['base_hostname'] = node['typo3_site']['hostname']
template '/etc/apache2/sites-enabled/webgrind.pia.dev.conf' do
source 'web_app.conf.erb'
mode '0644'
variables(
:params => node['webgrind']
)
action :create
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment