Changeset 429

Show
Ignore:
Timestamp:
02/26/08 01:05:26 (11 months ago)
Author:
mbailey
Message:

bugfix: correct location for system maintenance task

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb

    r419 r429  
    77server { 
    88    listen       80; 
    9     server_name  <%= domain %> <% 4.times do |counter| %> <%= domain.sub(/.*?\./, "assets#{counter}.") %> <% end %>; 
     9    server_name  <%= domain %> <% 4.times do |counter| %> <%= domain.sub(/.*?\./, "assets#{counter}.") %><% end %>; 
    1010    root <%= deploy_to %>/current/public; 
    1111    access_log <%= deploy_to %>/shared/log/<%= domain %>-access.log; 
     
    1313    client_max_body_size  <%= nginx_client_max_body_size %>; 
    1414 
    15         if (-f $document_root/maintenance.html){ 
    16                 rewrite  ^(.*)$  /maintenance.html last; 
     15        if (-f $document_root/system/maintenance.html){ 
     16                rewrite  ^(.*)$  /system/maintenance.html last; 
    1717                break; 
    1818        }