Get NGINX configuration
Get the webserver configuration for a site.
GET/api/servers/{server}/sites/{site}/nginx-configuration
Get NGINX configuration
This endpoint returns the NGINX configuration for a specific site.
This call can take longer than usual because the actual file is retrieved on-demand from your server.
Request
GET
/api/servers/{server}/sites/{site}/nginx-configurationcurl -G "https://ploi.io/api/servers/{server}/sites/{site}/nginx-configuration" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response
{
"content": "..Contents of webserver configuration file.."
}