[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-11-25 09:28:50
This commit is contained in:
parent
513e34a5df
commit
09dc785657
|
|
@ -33,9 +33,7 @@ upstream officeonline_backend {
|
||||||
server 172.16.253.101;
|
server 172.16.253.101;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
|
server {
|
||||||
|
|
||||||
|
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name cloud.grupopralog.com.br;
|
server_name cloud.grupopralog.com.br;
|
||||||
|
|
@ -47,13 +45,9 @@ 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/D8ZKClTjpHTDF0-5TuUn6UpqXFCeBdukueXor5Ho4SU{default_type text/plain;return 200 D8ZKClTjpHTDF0-5TuUn6UpqXFCeBdukueXor5Ho4SU.6NQOP-_cyjMVLz8P4PfH0klS5ZH2qgREfeMrgpUfnEk;} # managed by Certbot
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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 cloud.grupopralog.com.br;
|
server_name cloud.grupopralog.com.br;
|
||||||
|
|
@ -309,6 +303,4 @@ server {rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
|
||||||
proxy_buffering on;
|
proxy_buffering on;
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
}
|
}
|
||||||
location = /.well-known/acme-challenge/D8ZKClTjpHTDF0-5TuUn6UpqXFCeBdukueXor5Ho4SU{default_type text/plain;return 200 D8ZKClTjpHTDF0-5TuUn6UpqXFCeBdukueXor5Ho4SU.6NQOP-_cyjMVLz8P4PfH0klS5ZH2qgREfeMrgpUfnEk;} # managed by Certbot
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,9 @@ upstream grafana_backend {
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# 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 monitoramento.itguys.com.br;
|
server_name monitoramento.itguys.com.br;
|
||||||
|
|
@ -38,12 +40,16 @@ server {
|
||||||
location / {
|
location / {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
location = /.well-known/acme-challenge/FR61bjjHwMcStT_G_cb4E_kiwX5zV8xlPWE9xkXPMh0{default_type text/plain;return 200 FR61bjjHwMcStT_G_cb4E_kiwX5zV8xlPWE9xkXPMh0.6NQOP-_cyjMVLz8P4PfH0klS5ZH2qgREfeMrgpUfnEk;} # managed by Certbot
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# BLOCO 2: Servidor Principal - Proxy Reverso para Grafana (HTTPS)
|
# BLOCO 2: Servidor Principal - Proxy Reverso para Grafana (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 monitoramento.itguys.com.br;
|
server_name monitoramento.itguys.com.br;
|
||||||
|
|
@ -165,4 +171,6 @@ server {
|
||||||
proxy_read_timeout 90s;
|
proxy_read_timeout 90s;
|
||||||
proxy_send_timeout 90s;
|
proxy_send_timeout 90s;
|
||||||
}
|
}
|
||||||
|
location = /.well-known/acme-challenge/FR61bjjHwMcStT_G_cb4E_kiwX5zV8xlPWE9xkXPMh0{default_type text/plain;return 200 FR61bjjHwMcStT_G_cb4E_kiwX5zV8xlPWE9xkXPMh0.6NQOP-_cyjMVLz8P4PfH0klS5ZH2qgREfeMrgpUfnEk;} # managed by Certbot
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue