Get NGINX configuration

Get the webserver configuration for a specific tenant.


GET/api/servers/{server}/sites/{site}/tenants/{tenant}/nginx-configuration

Get NGINX configuration

Retrieves the NGINX configuration file contents for the specified tenant.

Request

GET
/api/servers/{server}/sites/{site}/tenants/{tenant}/nginx-configuration
curl -X GET "https://ploi.io/api/servers/{server}/sites/{site}/tenants/example.com/nginx-configuration" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Response

{
  "content": "..Contents of webserver configuration file.."
}