[Auto-Sync] Atualização das configurações em srvproxy001.itguys.com.br - 2025-09-20 14:21:38
This commit is contained in:
parent
b7f201a592
commit
075c117d49
|
|
@ -8,11 +8,18 @@
|
|||
# BLOCO HTTP: Redirecionar para HTTPS
|
||||
# ==============================================================================
|
||||
server {
|
||||
if ($host = zammad.itguys.com.br) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name zammad.itguys.com.br;
|
||||
location /.well-known/acme-challenge/ { root /var/www/html; }
|
||||
location / { return 301 https://$host$request_uri; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
# ==============================================================================
|
||||
|
|
@ -74,4 +81,7 @@ server {
|
|||
include /etc/nginx/snippets/proxy_params.conf;
|
||||
proxy_pass http://172.16.254.59;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/zammad.itguys.com.br/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/zammad.itguys.com.br/privkey.pem; # managed by Certbot
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue