Apache serving empty gzip with assets produced by Rails Asset Pipeline
- by PizzaPill
I followed the steps described on the blogpost The Asset Pipeline, from development to production and tweaked them to my environment. The two important files are:
/etc/apache/site-available/example.com
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
DocumentRoot "/var/www/sites/example.com/current/public"
…