Get NGINX configuration
Get the webserver configuration for a specific tenant.
This call can take longer than usual because the actual file is retrieved on-demand from your server.
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-configurationcurl -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.."
}