⚠️ 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 giunginx_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