Canan

Hi, I'm Canan

Oups ...

Never forget impossible is possible

:(


Your PC ran into a problem and needs to restart.
We're just collecting some error info, and then we'll restart for you.


0% complete



QR Code

For more information about this issue and possible fixes, visit
https://www.windows.com/stopcode

If you call a support person, give them this info:
Stop code: SYSTEM_SERVICE_EXCEPTION

Enable GZIP in Nginx

Enable GZIP in Nginx

Ubuntu




Steps

  1. Edit the mime.types file
  2. Open the file
  3. sudo nano /etc/nginx/mime.types
  4. Check that the following lines exist, otherwise add them:
  5. application/vnd.ms-fontobject eot;
  6. application/x-font-ttf ttf;
  7. font/opentype ott;
  8. font/x-woff woff;
  9. Edit the nginx.conf file
  10. > Open the file
  11. sudo nano /etc/nginx/nginx.conf
  12. > Check that the following lines are identical, otherwise modify them:
  13. gzip on;
  14. gzip_disable "msie6";
  15. gzip_vary on;
  16. gzip_proxied any;
  17. gzip_comp_level 6;
  18. gzip_buffers 16 8k;
  19. gzip_http_version 1.1;
  20. gzip_min_length 256;
  21. gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/rss+xml text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/jpeg image/png image/svg+xml image/x-icon;