From ac00db996e587773e2d0d0da77b9759bbc9a8fcc Mon Sep 17 00:00:00 2001 From: "srvproxy001.itguys.com.br" Date: Tue, 23 Sep 2025 22:53:33 -0300 Subject: [PATCH] =?UTF-8?q?[Auto-Sync]=20Atualiza=C3=A7=C3=A3o=20das=20con?= =?UTF-8?q?figura=C3=A7=C3=B5es=20em=20srvproxy001.itguys.com.br=20-=20202?= =?UTF-8?q?5-09-23=2022:53:30?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cloud.grupopralog.com.br.conf | 57 +++++++++++++++++-- 1 file changed, 53 insertions(+), 4 deletions(-) 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; }