Sha256: cc9f6693e01d93d77d4ab5315fbc15b0ec6f465896859e4db8029135d25d72c7

Contents?: true

Size: 790 Bytes

Versions: 16

Compression:

Stored size: 790 Bytes

Contents

<% project = fetch :project -%>
server {
    listen 80;

    server_name <%= fetch :domain %>;
    return 301 https://<%= fetch :domain -%>/;
}

server {
    listen              443 ssl;
    server_name         <%= fetch :domain %>;

    passenger_enabled on;
    passenger_friendly_error_pages off;
    passenger_app_env <%= fetch :stage %>;
    passenger_ruby /usr/local/rvm/gems/ruby-<%= fetch :rvm_ruby_version -%>/wrappers/ruby;
    passenger_min_instances 1;
    passenger_base_uri /;

    root <%= fetch :deploy_to -%>/current/public;

    ssl_certificate     <%= project.ssl_certificate_file(fetch(:stage).to_sym) %>;
    ssl_certificate_key <%= project.ssl_certificate_key_file(fetch(:stage).to_sym) %>;
    ssl_protocols       TLSv1.2;
    ssl_ciphers         HIGH:!aNULL:!MD5;
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
groundskeeper-bitcore-0.32.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.31.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.29.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.28.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.27.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.26.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.24.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.23.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.22.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.21.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.20.1 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.19.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.18.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.17.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.16.0 config/vhost_config_nginx.conf.erb
groundskeeper-bitcore-0.15.0 config/vhost_config_nginx.conf.erb