daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # We enable gzip as a compression mechanism.
  2.   location ~ ^/(assets|images|javascripts|stylesheets)/   {    
  3.       try_files $uri @rails;    
  4.       access_log off;    
  5.       gzip_static on;
  6.  
  7.       # to serve pre-gzipped version    
  8.       expires max;    
  9.       add_header Cache-Control public;    
  10.  
  11.       add_header Last-Modified "";    
  12.       add_header ETag "";    
  13.       break;  
  14.    }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top