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

[W04] W04 — NPM nginx_online=False khong trigger rebuild config

  • Tất cả blog
  • Knowledge Base
  • [W04] W04 — NPM nginx_online=False khong trigger rebuild config
  • 15 tháng 3, 2026 bởi
    [W04] W04 — NPM nginx_online=False khong trigger rebuild config
    Viet Nguyen
    ⚠️ HIGH  |  Category: Web & IT  |  ID: W04  |  Owner: CEO

    W04 — NPM nginx_online=False khong trigger rebuild config

    Tom tat

    Khi proxy host co SSL cert error truoc do, NPM giu nginx_online=False. Update cert_id moi KHONG tu rebuild nginx config. Phai PUT full payload.

    Cach xu ly

    PUT full payload (khong chi cert_id):
    requests.put(f"{NPM_URL}/api/nginx/proxy-hosts/{proxy_id}", json={
        "certificate_id": cert_id,
        "ssl_forced": True,
        "hsts_enabled": True,
        "hsts_subdomains": False,
        "http2_support": True,
    })
    

    📚 Published from Company Knowledge Base — W04
    Last updated: 2026-03-14
    Review by: 2026-06-12

    trong Knowledge Base
    # Web & IT
    [W03] W03 — NPM cert upload API tra 200 nhung file khong ghi disk



    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