Accessing Readeck
- Tarayıcınızı açın ve şu adresi ziyaret edin:
https://<SERVER_IP>/ - A browser SSL warning is expected — the certificate is self-signed.
- Create the admin account in the web interface immediately.
Önemli Dosyalar ve Dizinler
- Readeck data directory:
/var/lib/readeck - Readeck configuration directory:
/etc/readeck - Readeck binary:
/usr/local/bin/readeck - Systemd service file:
/etc/systemd/system/readeck.service - Nginx virtual host:
/etc/nginx/sites-available/readeck - TLS certificate and key:
/etc/nginx/ssl
Managing the Services
Check Readeck status:
systemctl status readeck
Restart Readeck:
systemctl restart readeck
View Readeck logs:
journalctl -xeu readeck --no-pager -f
Nginx yönetimi:
systemctl status nginx
systemctl restart nginx
journalctl -u nginx -f
Güvenlik Notları
- Readeck runs as a non-login system user.
- Strong systemd sandboxing is enabled.
- Only ports
80ve443are exposed. - Internal service port
8000is not accessible externally. - TLS uses a self-signed certificate.
Bir Etki Alanı ile SSL'yi Etkinleştirme
1. Alan adınızı sunucu IP adresine yönlendirin.
2. Nginx yapılandırmasını düzenleyin ve her ikisini de değiştirin server_name <IP>; alan adınızla (<your-domain>) hem HTTP (bağlantı noktası 80) hem de HTTPS (bağlantı noktası 443) blokları için:
vim /etc/nginx/sites-available/readeck
3. Certbot'u yükleyin:
apt install -y certbot python3-certbot-nginx
4. Geçerli bir Let’s Encrypt sertifikası oluşturmak için aşağıdaki komutu çalıştırın:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Nginx yapılandırmasında SSL yollarını değiştirin:
vim /etc/apache2/sites-available/readeck
# Before:
# ssl_certificate /etc/nginx/ssl/fullchain.pem;
# ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
6. Değişiklikleri uygulamak için Nginx'i yeniden başlatın:
systemctl restart nginx
7. Tarayıcınızı açın ve şu adresi ziyaret edin: https://yourdomain.com