[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-30 16:18:55

This commit is contained in:
srvproxy001.itguys.com.br 2025-09-30 16:18:55 -03:00
parent a42fc9169b
commit 54d4b0eed9
1 changed files with 11 additions and 0 deletions

View File

@ -13,6 +13,16 @@
# ==============================================================================
# BLOCO 1: Redirecionamento de HTTP para HTTPS
# ==============================================================================
map $http_content_type $allowed_upload {
default 0; # Bloqueia tudo por padrão
# Tipos de arquivo permitidos
"text/csv" 1;
"application/pdf" 1;
"image/jpeg" 1;
"image/png" 1;
}
server {
if ($host = autolab.itguys.com.br) {
return 301 https://$host$request_uri;
@ -56,6 +66,7 @@ server {
}
limit_req zone=global_limit burst=20 nodelay;
limit_req zone=bad_bot_limit;
client_max_body_size 512M;
# --- Configurações de SSL/TLS (Padronizado) ---
ssl_certificate /etc/letsencrypt/live/business.itguys.com.br/fullchain.pem; # managed by Certbot