Accessing Microweber
- ブラウザを開いて、次のURLにアクセスしてください:
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.