Add $aliases and $redirect to apache::site, ensure default vhost is loaded first.
This commit is contained in:
parent
bf4ad72690
commit
ced754f674
2 changed files with 41 additions and 21 deletions
|
@ -1,5 +1,8 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName <%= site_fqdn %>
|
||||
<% if aliases != "" -%>
|
||||
ServerAlias <%= aliases %>
|
||||
<% end -%>
|
||||
ErrorLog /srv/www/log/http/<%= site_fqdn %>/error_log
|
||||
CustomLog /srv/www/log/http/<%= site_fqdn %>/access_log combined
|
||||
DocumentRoot /srv/www/http/<%= site_fqdn %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue