Login to your server:
Then:
-
Step 1:
mkdir -p /usr/local/apache/conf/userdata/std/2/{username}/{domain.com} -
Step 2:
cd /usr/local/apache/conf/userdata/std/2/{username}/{domain.com}
| # Enable gzip | |
| <IfModule mod_deflate.c> | |
| AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript | |
| </IfModule> | |
| # Force caching | |
| <IfModule mod_expires.c> | |
| ExpiresActive on | |
| ExpiresDefault "access plus 1 month" |