Accessing Microweber
- เปิดเบราว์เซอร์ของคุณและเข้าไปที่:
http://<SERVER_IP> - Complete setup via web installer.
ไฟล์และไดเร็กทอรีที่สำคัญ
- ไดเร็กทอรีการติดตั้ง:
/var/www/microweber - การตั้งค่า Apache:
/etc/apache2/sites-available/microweber.conf - Storage:
/var/www/microweber/storage - การตั้งค่า:
/var/www/microweber/config - User files:
/var/www/microweber/userfiles
การเปิดใช้งาน SSL กับโดเมน
1. ชี้โดเมนของคุณไปยังที่อยู่ IP ของเซิร์ฟเวอร์
2. Edit Nginx config and replace ServerName <IP>; ด้วยโดเมนของคุณ (<your-domain>-
vim /etc/apache2/sites-available/microweber.conf
3. ติดตั้ง Certbot:
apt install -y certbot python3-certbot-apache
4. รันคำสั่งต่อไปนี้เพื่อสร้างใบรับรอง Let's Encrypt ที่ถูกต้อง:
certbot --apache --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Restart Nginx to apply the changes:
systemctl restart apache2
6. เปิดเบราว์เซอร์ของคุณและไปที่: https://yourdomain.com
หมายเหตุ
- 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.