[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-11-25 14:14:49
This commit is contained in:
parent
1912b5cf34
commit
705563b856
|
|
@ -33,8 +33,6 @@ 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;
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,7 @@
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# BLOCO 1: Redirecionamento de HTTP (porta 80) para HTTPS
|
# BLOCO 1: Redirecionamento de HTTP (porta 80) para HTTPS
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
|
server {
|
||||||
|
|
||||||
|
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name anatram.com.br;
|
server_name anatram.com.br;
|
||||||
|
|
@ -27,16 +25,12 @@ server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
|
||||||
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 {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
|
server {
|
||||||
|
|
||||||
|
|
||||||
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;
|
||||||
|
|
@ -120,6 +114,4 @@ server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
|
||||||
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
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue