mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-30 15:05:38 +08:00
460 B
460 B
Nginx Plugin API
POST /plugin/nginx/update_site/
Request:
{
"action": "create/update/delete",
// only when update and delete
"id": "525284cc2cebb6d0008b4567",
"type": "guide/json/nginx",
"config": <Object>
}
No Response.
Exception:
-
not_in_service
-
invalid_action
-
invalid_type
-
forbidden
-
invalid_listen
-
invalid_server_name
-
invalid_index
-
invalid_root
-
invalid_location
-
fastcgi_index