Sha256: 8c2c356cca215b216321c011c118235bc85ff8b35cdfe46617cc3765c00e3694

Contents?: true

Size: 747 Bytes

Versions: 2

Compression:

Stored size: 747 Bytes

Contents

<VirtualHost *:80>
  ServerName "<%= @params[:server_name] %>"
  <% if @params[:server_aliases] %>
  ServerAlias <%= @params[:server_aliases].join(" ") %>
  <% end %>

  DocumentRoot "<%= @params[:docroot] %>"
  RewriteEngine On

  <Directory "<%= @params[:docroot] %>">
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all

    AddOutputFilterByType DEFLATE text/html text/plain text/xml
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE text/css
  </Directory>

  <Directory />
    Options FollowSymLinks
    AllowOverride None
  </Directory>
</VirtualHost>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
megalodon-0.1.1 cookbooks/megalodon/templates/default/vhost.conf.erb
megalodon-0.1.0 cookbooks/megalodon/templates/default/vhost.conf.erb