This commit is contained in:
kirill.khorkov
2025-12-17 01:18:27 +03:00
parent 8a93cf8657
commit a7282f7363
394 changed files with 16013 additions and 146 deletions

16
docker/apache/entrypoint.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -e
# Включаем модули Apache
a2enmod rewrite
a2enmod headers
# Добавляем admin в hosts
echo "127.0.0.1 admin" >> /etc/hosts
# Активируем виртуальный хост
a2ensite 000-default
# Запускаем Apache
exec apache2-foreground