Accessing Microweber
- Otwórz przeglądarkę i wejdź na stronę:
http://<SERVER_IP> - Complete setup via web installer.
Ważne pliki i katalogi
- Katalog instalacyjny:
/var/www/microweber - Konfiguracja Apache:
/etc/apache2/sites-available/microweber.conf - Storage:
/var/www/microweber/storage - Konfiguracja:
/var/www/microweber/config - User files:
/var/www/microweber/userfiles
Włączanie protokołu SSL dla domeny
1. Skieruj swoją domenę na adres IP serwera.
2. Edit Nginx config and replace ServerName <IP>; z Twoją domeną (<your-domain>):
vim /etc/apache2/sites-available/microweber.conf
3. Zainstaluj Certbot:
apt install -y certbot python3-certbot-apache
4. Uruchom poniższe polecenie, aby wygenerować prawidłowy certyfikat 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
Uwagi
- 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.