mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-06-18 01:47:07 +08:00
491 B
491 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
-
invalid_fastcgi_index
-
invalid_fastcgi_pass