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. Open your browser and visit: 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.