Permalink
Browse files

Add port option to vhost

  • Loading branch information...
1 parent 8c1fdce commit 86477857cfdc42678845d8d02593195be89fef29 @leejones leejones committed May 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moonshine/manifest/rails/templates/passenger.vhost.erb
@@ -1,4 +1,4 @@
-<VirtualHost *:80>
+<VirtualHost *:<%= configuration[:apache][:port] || 80 %>>
ServerName <%= configuration[:domain] || (Facter.to_hash["hostname"] + '.' + Facter.to_hash["domain"]) %>
<% if configuration[:domain_aliases] %>
ServerAlias <%= configuration[:domain_aliases].to_a.join(' ') %>

0 comments on commit 8647785

Please sign in to comment.