Sha256: 660dc691d38cbff4216462a4ec8505360934b6e6242f15c088ebc81ff5243613

Contents?: true

Size: 585 Bytes

Versions: 3

Compression:

Stored size: 585 Bytes

Contents

<VirtualHost *:80>
  AddDefaultCharset UTF-8

  ServerName <%= server_name %>
  DocumentRoot <%= public_path %>
  
  ErrorLog /var/log/apache2/<% application_name %>/error.log
  CustomLog /var/log/apache2/<% application_name %>/access.log combined
  
  RailsEnv staging
  
  <Directory "<%= public_path %>/">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
  
  <Location "/">
    AuthName "Stats"
    AuthType Basic
    AuthUserFile /home/<%= application_name %>/.htpasswd
    Require valid-user
  </Location>
  
</VirtualHost>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beans_rails-0.1.1 templates/config/deploy/templates/staging_vhost.erb
beans_rails-0.1.0 templates/config/deploy/templates/staging_vhost.erb
beans_rails-0.0.0 templates/deploy/templates/staging_vhost.erb