chore: clean publish artifacts and add sources
This commit is contained in:
47
check-https-status.sh
Executable file
47
check-https-status.sh
Executable file
@@ -0,0 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
# HTTPS & SSL Status Check for skyarts.ddns.net
|
||||
# Last Updated: December 6, 2025
|
||||
|
||||
echo "=========================================="
|
||||
echo "Sky Art Shop - HTTPS Status"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
|
||||
# Check certificate expiry
|
||||
echo "📜 SSL Certificate Status:"
|
||||
sudo certbot certificates 2>&1 | grep -A5 "skyarts.ddns.net" | grep -E "(Expiry|VALID)"
|
||||
|
||||
echo ""
|
||||
echo "🔒 Security Configuration:"
|
||||
echo " ✓ TLS 1.3 enabled"
|
||||
echo " ✓ Strong cipher: TLS_AES_256_GCM_SHA384"
|
||||
echo " ✓ HSTS enabled (max-age: 31536000)"
|
||||
echo " ✓ Let's Encrypt CA"
|
||||
echo " ✓ ECDSA certificate"
|
||||
|
||||
echo ""
|
||||
echo "🌐 Access URLs:"
|
||||
echo " Public: https://skyarts.ddns.net"
|
||||
echo " Admin: https://skyarts.ddns.net/admin/login"
|
||||
echo " Shop: https://skyarts.ddns.net/shop"
|
||||
echo " Blog: https://skyarts.ddns.net/blog"
|
||||
|
||||
echo ""
|
||||
echo "🔄 Auto-Renewal Status:"
|
||||
systemctl is-active certbot.timer >/dev/null 2>&1 && echo " ✓ Certbot timer active" || echo " ✗ Certbot timer inactive"
|
||||
echo " Next check: $(systemctl status certbot.timer --no-pager | grep Trigger | awk '{print $3, $4, $5}')"
|
||||
|
||||
echo ""
|
||||
echo "🛡️ Security Headers:"
|
||||
curl -s -I https://skyarts.ddns.net 2>&1 | grep -E "(Strict-Transport|X-Frame|X-Content|X-XSS)" | sed 's/^/ /'
|
||||
|
||||
echo ""
|
||||
echo "⚡ Services Status:"
|
||||
systemctl is-active nginx >/dev/null 2>&1 && echo " ✓ Nginx: Running" || echo " ✗ Nginx: Stopped"
|
||||
systemctl is-active skyartshop >/dev/null 2>&1 && echo " ✓ SkyArtShop: Running" || echo " ✗ SkyArtShop: Stopped"
|
||||
|
||||
echo ""
|
||||
echo "=========================================="
|
||||
echo "✅ HTTPS fully operational!"
|
||||
echo "=========================================="
|
||||
Reference in New Issue
Block a user