Canan

Salut, je suis Canan

Oups ...

N'oubliez jamais que l'impossible est 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

Activer GZIP dans Nginx

Activer GZIP dans Nginx

Ubuntu




Étapes

  1. Modifier le fichier mime.types
  2. - Ouvrez le fichier
  3. sudo nano /etc/nginx/mime.types
  4. - Vérifier que les lignes suivantes existent, sinon rajoutez les :
  5. application/vnd.ms-fontobject eot;
  6. application/x-font-ttf ttf;
  7. font/opentype ott;
  8. font/x-woff woff;
  9. Modifier le fichier nginx.conf
  10. - Ouvrez le fichier
  11. sudo nano /etc/nginx/nginx.conf
  12. - Vérifier que les lignes suivantes sont identiques, sinon modifiez les :
  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;