Sha256: b0a0cad86ff31b35efd1a70967f83ef30d71cc1546531b8d27d65128856c5ff7
Contents?: true
Size: 719 Bytes
Versions: 3
Compression:
Stored size: 719 Bytes
Contents
# Don't cause the server to break if Passenger module not loaded <IfModule passenger_module> <VirtualHost *:80> ServerName <%= domain %> DocumentRoot "<%= passenger_document_root %>" RailsEnv <%= rails_env %> # RailsAllowModRewrite <%= passenger_rails_allow_mod_rewrite %> # # Check for maintenance file and redirect all requests RewriteEngine On RewriteCond %{REQUEST_URI} !\.(css|jpg|png|gif)$ RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteCond %{SCRIPT_FILENAME} !maintenance.html RewriteRule ^.*$ /system/maintenance.html [L] <Directory "<%= passenger_document_root %>"> Order allow,deny Allow from all </Directory> </VirtualHost> </IfModule>
Version data entries
3 entries across 3 versions & 2 rubygems