[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-23 22:53:30
This commit is contained in:
parent
83ddc4d91d
commit
ac00db996e
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue