Created
June 3, 2013 13:14
-
-
Save almaron/5698067 to your computer and use it in GitHub Desktop.
This file contains 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
events { | |
worker_connections 4096; ## Default: 1024 | |
} | |
http{ | |
server { | |
listen 80; | |
server_name fotorich.ru www.fotorich.ru; | |
passenger_enabled on; | |
root /home/rails/www/photomoney/current/public; | |
charset utf-8; | |
# static assets expires | |
location ~* \.(jpg|jpeg|gif|giff|png|flv|css|swf)$ { | |
expires max; | |
} | |
location ~* ^/assets/* { | |
expires max; | |
} | |
rails_env production; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment