feat:#31 added gzip in nginx

This commit is contained in:
Elmar Kresse
2024-05-22 00:01:51 +02:00
parent 3699125a99
commit ce1891d6c9
3 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,9 @@ http {
include mime.types;
default_type application/octet-stream;
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
# Cloudflare IP Ranges (https://www.cloudflare.com/ips/)
set_real_ip_from 173.245.48.0/20;
set_real_ip_from 103.21.244.0/22;