Created
June 27, 2009 21:24
-
-
Save anonymous/137126 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
server { | |
listen 0.0.0.0; | |
server_name s.ight.ru laresistance.ru; | |
access_log logs/laresistance.access_log main; | |
error_log logs/laresistance.error_log info; | |
root /home/codesnik/apps/laresistance/current/public; | |
location ~ ^/(images|javascripts|stylesheets|system)/ { | |
expires max; | |
break; | |
} | |
location / { | |
try_files /system/maintenance.html $uri $uri/index.html $uri.html @rails; | |
} | |
location @rails { | |
passenger_enabled on; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment