diff --git a/nginx/sites-available/cloud.grupopralog.com.br.conf b/nginx/sites-available/cloud.grupopralog.com.br.conf index b30819f..e197438 100644 --- a/nginx/sites-available/cloud.grupopralog.com.br.conf +++ b/nginx/sites-available/cloud.grupopralog.com.br.conf @@ -74,16 +74,65 @@ server { add_header X-Frame-Options "SAMEORIGIN" always; add_header Referrer-Policy "no-referrer" always; - # --- BLOCO DE COMPRESSÃO (NOVO) --- - brotli on; + # ========================================================================================== + # BLOCO DE COMPRESSÃO CORRIGIDO E AMPLIADO + # DATA DA ALTERAÇÃO: 2025-09-23 22:50 + # Adicionados mais MIME types para garantir a compressão de todos os assets. + # ========================================================================================== + + brotli on; brotli_comp_level 6; - brotli_types text/plain text/css text/xml application/xml application/json application/javascript application/x-javascript image/svg+xml; + brotli_vary on; + brotli_types + application/atom+xml + application/javascript + application/json + application/rss+xml + application/vnd.ms-fontobject + application/x-font-opentype + application/x-font-truetype + application/x-font-ttf + application/x-javascript + application/xhtml+xml + application/xml + font/eot + font/opentype + font/otf + font/truetype + image/svg+xml + image/x-icon + text/css + text/javascript + text/plain + text/xml; gzip on; gzip_vary on; gzip_proxied any; gzip_comp_level 6; - gzip_types text/plain text/css text/xml application/xml application/json application/javascript application/x-javascript image/svg+xml; + gzip_min_length 256; + gzip_types + application/atom+xml + application/javascript + application/json + application/rss+xml + application/vnd.ms-fontobject + application/x-font-opentype + application/x-font-truetype + application/x-font-ttf + application/x-javascript + application/xhtml+xml + application/xml + font/eot + font/opentype + font/otf + font/truetype + image/svg+xml + image/x-icon + text/css + text/javascript + text/plain + text/xml; # --- Rotas Específicas Nextcloud --- location = /.well-known/carddav { return 301 /remote.php/dav; }