Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When installing Nginx, enable http_gzip_static_module by default.
It's an optional nginx module that serves precompressed versions of static files. This is useful for the Rails asset pipeline, because the asset recompilation process already generates pre compressed files. To enable it in the nginx config add the following directive: "gzip_static on;"
- Loading branch information
1 parent
27d52ed
commit 7b45e32
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
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
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