[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-22 15:37:15
This commit is contained in:
parent
51cb5896b2
commit
8c6d8b1477
|
|
@ -11,6 +11,8 @@ events {
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
|
server_names_hash_bucket_size 128;
|
||||||
|
include /etc/letsencrypt/le_http_01_cert_challenge.conf;
|
||||||
#Configuraçoes de Cache
|
#Configuraçoes de Cache
|
||||||
proxy_cache_path /var/cache/nginx/zabbix_cache levels=1:2 keys_zone=zabbix_cache:10m max_size=1g inactive=60m use_temp_path=off;
|
proxy_cache_path /var/cache/nginx/zabbix_cache levels=1:2 keys_zone=zabbix_cache:10m max_size=1g inactive=60m use_temp_path=off;
|
||||||
proxy_cache_path /var/cache/nginx/api_cache levels=1:2 keys_zone=api_cache:10m max_size=100m inactive=5m use_temp_path=off;
|
proxy_cache_path /var/cache/nginx/api_cache levels=1:2 keys_zone=api_cache:10m max_size=100m inactive=5m use_temp_path=off;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,9 @@ upstream oos_backend {
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# B. BLOCO HTTP: Redirecionar para HTTPS
|
# B. BLOCO HTTP: Redirecionar para HTTPS
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
server {
|
server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
|
||||||
|
|
||||||
|
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name srvoffice001.itguys.com.br;
|
server_name srvoffice001.itguys.com.br;
|
||||||
|
|
@ -30,12 +32,16 @@ server {
|
||||||
location / {
|
location / {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
location = /.well-known/acme-challenge/vxw2j-BZnxuEHQ7XA9xln1ICXrj3bo_ZrVIbLqh0ta8{default_type text/plain;return 200 vxw2j-BZnxuEHQ7XA9xln1ICXrj3bo_ZrVIbLqh0ta8.6NQOP-_cyjMVLz8P4PfH0klS5ZH2qgREfeMrgpUfnEk;} # managed by Certbot
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# C. BLOCO HTTPS: Servidor Principal
|
# C. BLOCO HTTPS: Servidor Principal
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
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 srvoffice001.itguys.com.br;
|
server_name srvoffice001.itguys.com.br;
|
||||||
|
|
@ -92,4 +98,6 @@ server {
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
}
|
}
|
||||||
|
location = /.well-known/acme-challenge/vxw2j-BZnxuEHQ7XA9xln1ICXrj3bo_ZrVIbLqh0ta8{default_type text/plain;return 200 vxw2j-BZnxuEHQ7XA9xln1ICXrj3bo_ZrVIbLqh0ta8.6NQOP-_cyjMVLz8P4PfH0klS5ZH2qgREfeMrgpUfnEk;} # managed by Certbot
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue