@@ -698,7 +698,7 @@ The recommended workflow follows the [Torrust production deployment guide](https
698698
699699``` bash
700700# Step 1: Deploy with HTTP-only nginx configuration
701- cp ../infrastructure/config/templates/nginx-http.conf.tpl /var/lib/torrust/proxy/etc/nginx-conf/default.conf
701+ cp ../infrastructure/config/templates/application/nginx/ nginx-http.conf.tpl /var/lib/torrust/proxy/etc/nginx-conf/default.conf
702702sed -i " s/\$ {DOMAIN_NAME}/torrust-demo.com/g" /var/lib/torrust/proxy/etc/nginx-conf/default.conf
703703docker compose up -d
704704```
@@ -744,7 +744,7 @@ For development and testing, use Pebble to validate the complete SSL workflow lo
744744docker compose -f compose.test.yaml up -d pebble pebble-challtestsrv
745745
746746# Step 2: Set up test nginx configuration
747- cp ../infrastructure/config/templates/nginx-http.conf.tpl /var/lib/torrust/proxy/etc/nginx-conf/default.conf
747+ cp ../infrastructure/config/templates/application/nginx/ nginx-http.conf.tpl /var/lib/torrust/proxy/etc/nginx-conf/default.conf
748748sed -i " s/\$ {DOMAIN_NAME}/test.local/g" /var/lib/torrust/proxy/etc/nginx-conf/default.conf
749749
750750# Step 3: Start application services
@@ -884,7 +884,8 @@ implemented and fully tested.
884884
885885** Status** : ✅ ** COMPLETED** - Crontab templates exist and backup automation is fully integrated.
886886
887- ** File** : ` infrastructure/config/templates/crontab/mysql-backup.cron ` ✅ ** EXISTS AND FUNCTIONAL**
887+ ** File** : ` infrastructure/config/templates/application/crontab/mysql-backup.cron.tpl `
888+ ✅ ** EXISTS AND FUNCTIONAL**
888889
889890``` plaintext
890891# MySQL Database Backup Crontab Entry
@@ -917,7 +918,7 @@ implemented and fully tested.
917918
918919** Files Updated** :
919920
920- - ` infrastructure/config/templates/docker-compose.env.tpl ` - Added backup variables
921+ - ` infrastructure/config/templates/application/ docker-compose.env.tpl ` - Added backup variables
921922- ` infrastructure/config/environments/local.env ` - Local testing configuration
922923- ` infrastructure/config/environments/local.defaults ` - Template defaults
923924
@@ -946,7 +947,7 @@ BACKUP_RETENTION_DAYS=7
946947
947948** Testing Guide Created** : [ Database Backup Testing Guide] ( ../guides/database-backup-testing-guide.md )
948949
949- ** File** : ` infrastructure/config/templates/crontab/mysql-backup.cron ` ✅ ** EXISTS**
950+ ** File** : ` infrastructure/config/templates/application/ crontab/mysql-backup.cron.tpl ` ✅ ** EXISTS**
950951
951952``` plaintext
952953# MySQL Database Backup Crontab Entry
@@ -958,7 +959,7 @@ BACKUP_RETENTION_DAYS=7
958959 >> /var/log/mysql-backup.log 2>&1
959960```
960961
961- ** File** : ` infrastructure/config/templates/crontab/ssl-renewal.cron ` ✅ ** EXISTS**
962+ ** File** : ` infrastructure/config/templates/application/ crontab/ssl-renewal.cron.tpl ` ✅ ** EXISTS**
962963
963964``` plaintext
964965# SSL Certificate Renewal Crontab Entry
@@ -1232,7 +1233,7 @@ setup_ssl_automation() {
12321233 vm_exec "${vm_ip}" "
12331234 cd /home/torrust/github/torrust/torrust-tracker-demo/application
12341235 source ./share/bin/crontab_utils.sh
1235- add_cronjob 'ssl-renewal.cron' 'torrust'
1236+ add_cronjob 'ssl-renewal.cron.tpl ' 'torrust'
12361237 " "SSL renewal crontab setup"
12371238
12381239 log_success "SSL setup completed"
@@ -1254,7 +1255,7 @@ setup_backup_automation() {
12541255 vm_exec "${vm_ip}" "
12551256 cd /home/torrust/github/torrust/torrust-tracker-demo/application
12561257 source ./share/bin/crontab_utils.sh
1257- add_cronjob 'mysql-backup.cron' 'torrust'
1258+ add_cronjob 'mysql-backup.cron.tpl ' 'torrust'
12581259 " "MySQL backup crontab setup"
12591260
12601261 log_success "Database backup automation configured"
0 commit comments