update Docker and Nginx configuration to support Certbot for SSL certificate management

This commit is contained in:
2025-08-05 23:21:13 +03:00
parent af4d262a15
commit f985d9e827
4 changed files with 24 additions and 2 deletions

View File

@ -15,7 +15,10 @@ upstream frontend
server
{
listen 80; server_name crm.logidex.ru;
listen 80;
server_tokens off;
server_name crm.logidex.ru www.crm.logidex.ru;
gzip on;
gzip_proxied any;
gzip_comp_level 4;
@ -64,4 +67,8 @@ server
proxy_cache_valid 60m;
proxy_pass http://frontend;
}
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}