[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-16 23:49:45

This commit is contained in:
srvproxy001.itguys.com.br 2025-09-16 23:49:45 -03:00
parent 9c40226e22
commit b7301c6ba4
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# /etc/nginx/snippets/proxy_params.conf
#
# Cabeçalhos de proxy padrão para encaminhar informações do cliente para o backend.
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

View File

@ -0,0 +1,13 @@
# /etc/nginx/snippets/ssl_params.conf
#
# Parâmetros de SSL e segurança recomendados e centralizados.
# Configurações de protocolo e cifras seguras.
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384";
# Cabeçalhos de segurança HTTP.
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;