[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-10-14 11:37:04

This commit is contained in:
srvproxy001.itguys.com.br 2025-10-14 11:37:04 -03:00
parent 4236d68e53
commit cc7460176b
1 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,11 @@ upstream workspace_backend {
# - Redireciona todo o tráfego para HTTPS. # - Redireciona todo o tráfego para HTTPS.
# ====================================================================== # ======================================================================
server { server {
if ($host = workspace.itguys.com.br) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name workspace.itguys.com.br; server_name workspace.itguys.com.br;
@ -38,6 +43,8 @@ server {
location / { location / {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} }
} }
# ====================================================================== # ======================================================================
@ -145,4 +152,7 @@ server {
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_read_timeout 86400s; # Timeout longo para manter conexões ativas. proxy_read_timeout 86400s; # Timeout longo para manter conexões ativas.
} }
ssl_certificate /etc/letsencrypt/live/workspace.itguys.com.br/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/workspace.itguys.com.br/privkey.pem; # managed by Certbot
} }