This commit is contained in:
kirill.khorkov
2025-12-17 01:24:01 +03:00
parent fe288b3caf
commit f4f57bd153
18 changed files with 4 additions and 115 deletions

View File

@@ -1,16 +1,12 @@
#!/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