From 7b683c67003532ee9aa103674d1a21c3b863a714 Mon Sep 17 00:00:00 2001 From: Mate Majoros Date: Mon, 21 Jul 2025 12:41:39 +0300 Subject: [PATCH] readme updated --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index b0d93230..0f9977f7 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,17 @@ Key environment variables: - View logs: `docker compose logs -f` - System health: `docker compose exec backend bench doctor` + +# Setup HTTPS for new domains / subdomains +- SSL/TSL security protol is handled by installign `certbot` and `nginx`. +- SSL/TSL certificate is generated and handled by `certbot`. Auto-renewing is enabled by a cronjob +- some nginx configuration (proxying) is create at `/etc/nginx/sites-available/ignis.academy` + +## Steps +1. update the `/etc/nginx/sites-available/ignis.academy` file by adding the new (sub-)domain to the `server_name` fields +1. run the following command: `sudo certbot --nginx -d already.added.domain1 -d already.added.domain2 ... -d new.domain3` + + ## 🤝 Contributing 1. Fork the repository