Bỏ qua để đến Nội dung
Soul of NOTE
  • Khóa học
  • Check-in
    • NOTE
    • Headspace Vietnam
    • Fosllea
  • Diễn đàn
  • Company
    • Blog
    • Success Stories
  • 0
  • 0
  • Đăng nhập
Soul of NOTE
  • 0
  • 0
    • Khóa học
    • Check-in
      • NOTE
      • Headspace Vietnam
      • Fosllea
    • Diễn đàn
    • Company
      • Blog
      • Success Stories
  • Đăng nhập

[W03] W03 — NPM cert upload API tra 200 nhung file khong ghi disk

  • Tất cả blog
  • Knowledge Base
  • [W03] W03 — NPM cert upload API tra 200 nhung file khong ghi disk
  • 15 tháng 3, 2026 bởi
    [W03] W03 — NPM cert upload API tra 200 nhung file khong ghi disk
    Viet Nguyen
    ⚠️ 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
  • Files phai ghi thu cong vao Docker volume:
  • /var/lib/docker/volumes/ai-system_nginx_data/_data/custom_ssl/npm-{id}/
  • Can ca cert.pem + key.pem dung format PEM
  • Cach 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

    trong Knowledge Base
    # Web & IT
    [W02] W02 — Cloudflare security rules chặn form submission



    Bản quyền thuộc CÔNG TY TNHH NOTE
    Cung cấp bởi Odoo - Một nền tảng thương mại điện tử mã nguồn mở hàng đầu