get_site_config
Retrieve the raw nginx configuration for a domain from sites-available. Avoid errors by calling list_sites first to verify the domain exists.
Instructions
Get the raw, unparsed nginx config file for one domain from sites-available. Throws if no config exists for that domain - call list_sites first if you're not sure it exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain as it appears in sites-available, e.g. mysite.julcap.net |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| raw_config | Yes | Full contents of the nginx config file, verbatim |