Enable gzip compression

This commit is contained in:
phil 2023-03-11 20:52:04 +01:00
parent 5fdb1a9f7b
commit d3b3576815
4 changed files with 41 additions and 2 deletions

View file

@ -1,3 +1,22 @@
dhparam_path: /etc/ssl/private/dhparam.pem
bad_user_agents_url: https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/09071c4b8016f7d59b84a3f941035ce1872aaf7a/_generator_lists/bad-user-agents.list
nginx_http_version: "1.1"
# Add a semicolon to the end of the last list item
nginx_gzip_types:
- "text/plain"
- "text/css"
- "text/xml"
- "text/javascript"
- "application/javascript"
- "application/x-javascript"
- "application/json"
- "application/xml"
- "application/xml+rss"
- "application/xhtml+xml"
- "application/x-font-ttf"
- "application/x-font-opentype"
- "image/svg+xml"
- "image/x-icon;"