⚠️ HIGH |
Category: Web & IT |
ID: W03 |
Owner: CEO
W03 — NPM cert upload API tra 200 nhung file khong ghi disk
Tom tat
Upload Cloudflare Origin Certificate len Nginx Proxy Manager API tra status 200, nhung cert + key files KHONG xuat hien tren disk. NPM API chi update DB, khong ghi filesystem.Chi tiet
POST /api/nginx/certificates -> tra cert_id -> nhung files trong/var/lib/docker/volumes/ai-system_nginx_data/_data/custom_ssl/npm-{id}/
cert.pem + key.pem dung format PEMCach xu ly
1. Upload cert qua API 2. Verify files:ls -la .../custom_ssl/npm-{id}/
3. Neu trong -> copy files thu cong
4. Restart NPM container: docker restart npm
📚 Published from Company Knowledge Base — W03
Last updated: 2026-03-14
Review by: 2026-06-12