Sha256: 27ae667c5717a84eb1a72cd7940139a1f1bbba6af13b8e1f19ea48c2f774c5d3

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

server {
  listen 80;
  server_name <%= vhost_server_name %>;
  root <%= current_path %>/public;
  passenger_enabled on;
  rails_env <%= vhost_env %>;

  # serve static content directly
  location ~* \.(ico|jpg|gif|png|swf|html)$ {
    if (-f $request_filename) {
      expires max;
      break;
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-kyan-0.3.0 templates/vhost.conf.erb
capistrano-kyan-0.2.11 templates/vhost.conf.erb
capistrano-kyan-0.2.10 templates/vhost.conf.erb