Hegwin.Me
In silence I feel full; With speech I sense emptiness.
Home
Tools
WoW Battle Pet
Meow Etymons
About
Handle Assets with Nginx Instead of Thin
Nginx部署时Assets静态文件请求的配置
Nginx
Ruby on Rails
Nov 20, 2013
When deploying a Rails project to a production environment, I met a lot of problems with assets. For the Hegwin.me blog you're reading now, I'm using Nginx and Thin as the server for deployment. Since I don't deploy very often, I basically do it manually. During my deployment, after I execute `RAILS_ENV=production bundle exec rake assets:precompile` and start the server...