Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # We enable gzip as a compression mechanism.
- location ~ ^/(assets|images|javascripts|stylesheets)/ {
- try_files $uri @rails;
- access_log off;
- gzip_static on;
- # to serve pre-gzipped version
- expires max;
- add_header Cache-Control public;
- add_header Last-Modified "";
- add_header ETag "";
- break;
- }
Add Comment
Please, Sign In to add comment