Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
настройка Gzip для js скриптов
настройка Gzip для js скриптов
Замечено что js файлы не сжимаются в nginx. Настройки по умолчанию выставлены. Подскажите что в gzip_types прописывать?
Re: настройка Gzip для js скриптов
Вот енто берите:
По умолчанию там беднее вроде было:
Code: Select all
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/x-font-ttf font/opentype;
Code: Select all
gzip_types text/plain text/css text/javascript
application/x-javascript;