Sha256: 88b1d24278e4371ec300692cb7436ab4bd2958953a11b7792e5e62d019c914ce
Contents?: true
Size: 681 Bytes
Versions: 22
Compression:
Stored size: 681 Bytes
Contents
<% @path = "/etc/nginx/rubber/application.conf" %> server_name <%= [ rubber_env.domain, rubber_env.web_aliases ].flatten.compact.join(" ") %>; passenger_enabled on; passenger_min_instances 1; root <%= Rubber.root + "/public" %>; # this rewrites all the requests to the maintenance.html # page if it exists in the doc root. This is for capistrano's # disable web task if (-f $document_root/system/maintenance.html) { rewrite ^(.*)$ /system/maintenance.html last; break; } error_page 500 502 503 504 /500.html; location = /500.html { root <%= Rubber.root + "/public" %>; } error_page 404 /404.html; location = /404.html { root <%= Rubber.root + "/public" %>; }
Version data entries
22 entries across 22 versions & 1 rubygems