Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. server {
  2.   listen             80;
  3.   server_name        kepek.mefi.be;
  4.   root               /var/www/kepek.mefi.be;
  5.   access_log         off;
  6.   error_log          /var/log/nginx/error/kepek.mefi.be;
  7.  
  8.   location ~* \.(gif|jpg|jpeg|png)$ {
  9.     expires          max;
  10.  
  11.     gzip             on;
  12.     gzip_vary        on;
  13.     gzip_static      on;
  14.     gzip_min_length  1;
  15.     gzip_comp_level  9;
  16.     gzip_types       image/jpeg image/jpg image/gif image/png  
  17.  
  18.     server_tokens    off;    
  19.     sendfile         on;
  20.   }
  21.  
  22.   location = / {
  23.     rewrite / http://mefi.be/;
  24.   }
  25. }