This commit is contained in:
Mateusz Gruszczyński committed 2026-10-09 13:11:33 +02:00
1 parent f87eec7287
commit dd8c195600
38 files changed
+5491 -4682

No files matched your search

+39 -1
View File
@@ -2,7 +2,7 @@
"openapi": "3.0.3",
"info": {
"title": "RustProxy Administration API",
"version": "0.29.3",
"version": "0.29.4",
"description": "Administration API for the active panel origin. Sign in through the panel; the same-origin HttpOnly cookie authenticates all private operations. Mutations also require the exact Origin, X-RustProxy-Request: 1 and a session-bound X-CSRF-Token. Loopback HTTP is the default; Settings can enable HTTPS before using a non-loopback administration bind. This document contains no live configuration or credentials. Object schemas marked extensible are summaries: full configuration validation is authoritative in Rust."
},
"servers": [
@@ -848,6 +848,14 @@
"items": {
"$ref": "#/components/schemas/WebService"
}
},
"php_fpm_profiles": {
"type": "array",
"maxItems": 128,
"items": {
"$ref": "#/components/schemas/PhpFpmProfile"
},
"description": "Named PHP-FPM configurations reusable by Web Services."
}
},
"additionalProperties": true
@@ -5185,6 +5193,12 @@
},
"compression": {
"$ref": "#/components/schemas/CompressionOverrides"
},
"php_profile_id": {
"type": "string",
"maxLength": 64,
"description": "Optional shared PHP-FPM profile ID; when absent the local php configuration applies.",
"nullable": true
}
},
"required": [
@@ -5649,6 +5663,30 @@
"target"
],
"description": "Nginx-style internal error fallback. The original request is internally dispatched without a client redirect."
},
"PhpFpmProfile": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "ASCII letters, numbers, - and _."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 96
},
"php": {
"$ref": "#/components/schemas/WebService/properties/php"
}
}
}
}
},