[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-27 22:29:28
This commit is contained in:
parent
83d1085f45
commit
d76bd52129
|
|
@ -59,6 +59,8 @@ http {
|
||||||
proxy_cache_path /var/cache/nginx/technitium_cache levels=1:2 keys_zone=technitium_cache:10m inactive=60m max_size=1g;
|
proxy_cache_path /var/cache/nginx/technitium_cache levels=1:2 keys_zone=technitium_cache:10m inactive=60m max_size=1g;
|
||||||
proxy_cache_path /var/cache/nginx/unifi_cache levels=1:2 keys_zone=unifi_cache:10m inactive=60m max_size=1g;
|
proxy_cache_path /var/cache/nginx/unifi_cache levels=1:2 keys_zone=unifi_cache:10m inactive=60m max_size=1g;
|
||||||
proxy_cache_path /var/cache/nginx/nextcloud_cache_grupopralog levels=1:2 keys_zone=nextcloud_cache:20m max_size=2g inactive=120m use_temp_path=off;
|
proxy_cache_path /var/cache/nginx/nextcloud_cache_grupopralog levels=1:2 keys_zone=nextcloud_cache:20m max_size=2g inactive=120m use_temp_path=off;
|
||||||
|
proxy_cache_path /var/cache/nginx/magnusbilling_cache levels=1:2 keys_zone=magnusbilling_cache:10m max_size=1g inactive=7d use_temp_path=off;
|
||||||
|
|
||||||
|
|
||||||
# --- DEFINIÇÃO DE CAPACIDADES DE SEGURANÇA (OBRIGATÓRIO AQUI) ---
|
# --- DEFINIÇÃO DE CAPACIDADES DE SEGURANÇA (OBRIGATÓRIO AQUI) ---
|
||||||
# Define as 'variáveis' e 'zonas' que os sites podem usar para segurança.
|
# Define as 'variáveis' e 'zonas' que os sites podem usar para segurança.
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ server {
|
||||||
access_log /var/log/nginx/telefonia.itguys.com.br.access.log combined;
|
access_log /var/log/nginx/telefonia.itguys.com.br.access.log combined;
|
||||||
error_log /var/log/nginx/telefonia.itguys.com.br.error.log warn;
|
error_log /var/log/nginx/telefonia.itguys.com.br.error.log warn;
|
||||||
# Log para acessos bloqueados por bots
|
# Log para acessos bloqueados por bots
|
||||||
access_log /var/log/nginx/telefonia.itguys.com.br.bad-bot.log blocked if=$is_bad_bot;
|
access_log /var/log/nginx/telefonia.itguys.com.br.bad-bot.log suspicious_bot if=$is_bad_bot;
|
||||||
|
|
||||||
# Módulo de Segurança Global (Bloqueia bots e URIs suspeitas de nginx.conf)
|
# Módulo de Segurança Global (Bloqueia bots e URIs suspeitas de nginx.conf)
|
||||||
if ($block_request) {
|
if ($block_request) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue