[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-11-25 14:13:49

This commit is contained in:
srvproxy001.itguys.com.br 2025-11-25 14:13:49 -03:00
parent 316c5b3281
commit 1912b5cf34
3 changed files with 12 additions and 2 deletions

0
nginx/.certbot.lock Normal file
View File

View File

@ -33,6 +33,8 @@ events {
} }
http { http {
server_names_hash_bucket_size 128;
include /etc/letsencrypt/le_http_01_cert_challenge.conf;
# --- Configurações Globais Mínimas --- # --- Configurações Globais Mínimas ---
sendfile on; sendfile on;
tcp_nopush on; tcp_nopush on;

View File

@ -13,7 +13,9 @@
# ============================================================================== # ==============================================================================
# BLOCO 1: Redirecionamento de HTTP (porta 80) para HTTPS # BLOCO 1: Redirecionamento de HTTP (porta 80) para HTTPS
# ============================================================================== # ==============================================================================
server { server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name anatram.com.br; server_name anatram.com.br;
@ -25,12 +27,16 @@ server {
location / { location / {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} }
location = /.well-known/acme-challenge/QGHvXhd72OKJGfqYTa4hRvvzNMdlLumCWGAvS9me_Dc{default_type text/plain;return 200 QGHvXhd72OKJGfqYTa4hRvvzNMdlLumCWGAvS9me_Dc.6NQOP-_cyjMVLz8P4PfH0klS5ZH2qgREfeMrgpUfnEk;} # managed by Certbot
} }
# ============================================================================== # ==============================================================================
# BLOCO 2: Servidor Principal - Proxy Reverso (HTTPS) # BLOCO 2: Servidor Principal - Proxy Reverso (HTTPS)
# ============================================================================== # ==============================================================================
server { server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
listen 443 ssl http2; listen 443 ssl http2;
listen [::]:443 ssl http2; listen [::]:443 ssl http2;
server_name anatram.com.br; server_name anatram.com.br;
@ -114,4 +120,6 @@ server {
proxy_no_cache 1; proxy_no_cache 1;
proxy_cache_bypass 1; proxy_cache_bypass 1;
} }
location = /.well-known/acme-challenge/QGHvXhd72OKJGfqYTa4hRvvzNMdlLumCWGAvS9me_Dc{default_type text/plain;return 200 QGHvXhd72OKJGfqYTa4hRvvzNMdlLumCWGAvS9me_Dc.6NQOP-_cyjMVLz8P4PfH0klS5ZH2qgREfeMrgpUfnEk;} # managed by Certbot
} }