- CentOS 7:
sudo nano /etc/httpd/conf/httpd.conf
- Ubuntu 16.04:
sudo nano /etc/apache2/apache2.conf
Scroll to the bottom of the file and add the lines:
#
# mod_deflate configuration
#
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
Комментариев нет:
Отправить комментарий