site_configuration_get
Retrieve raw nginx, apache, and PHP configuration files for a FastPanel site. Use this to inspect current settings before applying updates.
Instructions
Read the raw nginx (frontend), apache (backend) and php.ini configs for a site. Returns the literal config text as stored by FastPanel. Use before site_configuration_update to see current state — FastPanel's default configs often miss hardening (no .git/.env blocking, etc). Endpoint: GET /api/sites/{site_id}/configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | Site id from sites_list |