Accessing Microweber
- Mở trình duyệt của bạn và truy cập:
http://<SERVER_IP> - Complete setup via web installer.
Các tập tin và thư mục quan trọng
- Thư mục cài đặt:
/var/www/microweber - Cấu hình Apache:
/etc/apache2/sites-available/microweber.conf - Storage:
/var/www/microweber/storage - Cấu hình:
/var/www/microweber/config - User files:
/var/www/microweber/userfiles
Kích hoạt SSL với tên miền
1. Trỏ tên miền của bạn đến địa chỉ IP của máy chủ.
2. Edit Nginx config and replace ServerName <IP>; với tên miền của bạn (<your-domain>):
vim /etc/apache2/sites-available/microweber.conf
3. Cài đặt Certbot:
apt install -y certbot python3-certbot-apache
4. Chạy lệnh sau để tạo chứng chỉ Let's Encrypt hợp lệ:
certbot --apache --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Restart Nginx to apply the changes:
systemctl restart apache2
6. Open your browser and visit: https://yourdomain.com
Ghi chú
- Runs on Apache (port 80).
.htaccess/ rewrite is enabled.- Control user registration in Microweber:
Settings > Login & Register > Register options - Ensure
www-dataowns the entire Microweber folder and has full write access to storage, config, and userfiles so the application functions correctly.