Created
          June 10, 2013 09:30 
        
      - 
      
- 
        Save joshgoebel/5747541 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | location @503 { | |
| add_header Maintenance "yes"; | |
| error_page 405 = /system/maintenance.html; | |
| # Serve static assets if found. | |
| if (-f $request_filename) { | |
| break; | |
| } | |
| rewrite ^(.*)$ /system/maintenance.html break; | |
| } | |
| location = /system/maintenance.html { | |
| add_header Maintenance "yes"; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment