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.

Request

GET
/api/servers/{server}/sites/{site}/nginx-configuration
curl -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.."
}